prevent sync error being shown twice when aborting

This commit is contained in:
Damien Elmes 2015-03-12 12:54:49 +11:00
parent 67c86e8f5e
commit cdb1cb06a0

View File

@ -376,7 +376,7 @@ class SyncThread(QThread):
elif ret == "success":
self.fireEvent("success")
elif ret == "serverAbort":
self.fireEvent("error", self.client.syncMsg)
pass
else:
self.fireEvent("error", "Unknown sync return code.")
self.syncMsg = self.client.syncMsg