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:
joss17 2009-05-14 15:53:40 +00:00
parent 08e5b26349
commit 84efbbe2d2

View File

@ -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)
{