mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-23 01:10:39 -05:00
hide download buttons when the file is local in sub file item
This commit is contained in:
parent
f832f3dc82
commit
18e37deba0
3 changed files with 7 additions and 4 deletions
|
|
@ -130,7 +130,9 @@ void SubFileItem::Setup()
|
|||
}
|
||||
}
|
||||
|
||||
deleteButton->setVisible(mFlag & SFI_FLAG_DELETE);
|
||||
deleteButton->setVisible(mFlag & SFI_FLAG_ALLOW_DELETE);
|
||||
downloadButton->setVisible(mMode < SFI_STATE_LOCAL);
|
||||
cancelButton->setVisible(mMode < SFI_STATE_LOCAL);
|
||||
|
||||
smaller();
|
||||
updateItemStatic();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue