mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
don't allow user to cancel attachment before hashing is finished
(file stays hashed in extra but does not appear among msg files) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3792 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
173dbfc18d
commit
1597bd9136
@ -227,7 +227,7 @@ void SubFileItem::updateItemStatic()
|
||||
|
||||
playButton->setEnabled(false);
|
||||
downloadButton->setEnabled(false);
|
||||
cancelButton->setEnabled(true);
|
||||
cancelButton->setEnabled(false);
|
||||
|
||||
progressBar->setValue(0);
|
||||
filename = "[" + tr("EXTRA") + "] " + filename;
|
||||
@ -255,7 +255,7 @@ void SubFileItem::updateItemStatic()
|
||||
case SFI_STATE_LOCAL:
|
||||
playButton->setEnabled(true);
|
||||
downloadButton->setEnabled(false);
|
||||
cancelButton->setEnabled(false);
|
||||
cancelButton->setEnabled(true);
|
||||
|
||||
progressBar->setValue(mFileSize / mDivisor);
|
||||
filename = "[" + tr("LOCAL") + "] " + filename + " (" + misc::friendlyUnit(mFileSize) + ")";
|
||||
|
Loading…
Reference in New Issue
Block a user