mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-06 14:03:54 -04:00
Set the SubFileItem in error mode when cancelling from the GUI
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1235 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
08e5b26349
commit
84efbbe2d2
@ -562,6 +562,9 @@ void SubFileItem::cancel()
|
||||
std::cerr << "SubFileItem::cancel()";
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
//set the state to error mode
|
||||
mMode = SFI_STATE_ERROR;
|
||||
|
||||
/* Only occurs - if it is downloading */
|
||||
if (mType == SFI_TYPE_ATTACH)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user