Revert "fix the displaying of the error dialogs"
This reverts commit 37985fbb24
.
This commit is contained in:
parent
37985fbb24
commit
143f01d1e8
|
@ -5,7 +5,7 @@ import json
|
||||||
|
|
||||||
from PyQt5.QtCore import QThread
|
from PyQt5.QtCore import QThread
|
||||||
|
|
||||||
from helper import BorgException, show_error
|
from helper import BorgException
|
||||||
|
|
||||||
|
|
||||||
class BorgQtThread(QThread):
|
class BorgQtThread(QThread):
|
||||||
|
@ -46,8 +46,7 @@ class BorgQtThread(QThread):
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
err = json.loads(error)
|
err = json.loads(error)
|
||||||
show_error(BorgException(err['message']))
|
raise BorgException(err['message'])
|
||||||
self.stop()
|
|
||||||
|
|
||||||
|
|
||||||
class ListThread(BorgQtThread):
|
class ListThread(BorgQtThread):
|
||||||
|
|
Loading…
Reference in New Issue