Fixed unreachable code thanks to travis
This commit is contained in:
parent
b2bdae2c2d
commit
fd845a1219
@ -240,11 +240,12 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
||||
self.tr(msg))
|
||||
|
||||
self.threads_list.remove(thread)
|
||||
return
|
||||
|
||||
if self.thread_closes:
|
||||
self.done(0)
|
||||
|
||||
return
|
||||
|
||||
raise RuntimeError('No finished thread found')
|
||||
|
||||
def keyPressEvent(self, event): # pylint: disable=invalid-name
|
||||
|
Loading…
Reference in New Issue
Block a user