mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-07 22:38:21 +03:00
Update "Furious/Widget/UserServersQTableView.py"
Signed-off-by: LorenEteval <loren.eteval@proton.me>
This commit is contained in:
committed by
Loren Eteval
parent
fe3dbf9aa6
commit
15dc1f61c3
@@ -902,12 +902,12 @@ class DeleteServersProgressDialog(AppQDialog):
|
||||
def setWidthAndHeight(self):
|
||||
self.resize(420, 150)
|
||||
|
||||
def exec(self):
|
||||
def open(self):
|
||||
self.spinner.start()
|
||||
|
||||
QtCore.QTimer.singleShot(0, self.deleteNext)
|
||||
|
||||
return super().exec()
|
||||
return super().open()
|
||||
|
||||
def reject(self):
|
||||
self.cancel()
|
||||
@@ -2115,9 +2115,9 @@ class UserServersQTableView(
|
||||
showTrayMessage=showTrayMessage,
|
||||
parent=self.window(),
|
||||
)
|
||||
dialog.exec()
|
||||
dialog.open()
|
||||
|
||||
return dialog.deletedCount
|
||||
return 0
|
||||
|
||||
if Storage.UserActivatedItemIndex() in indexes:
|
||||
deleteActivated = True
|
||||
@@ -2411,6 +2411,8 @@ class UserServersQTableView(
|
||||
self.subsManager.updateSubsByUnique(unique, **kwargs)
|
||||
|
||||
def updateSubs(self, httpProxy: Union[str, None], **kwargs):
|
||||
self.selectionModel().clearSelection()
|
||||
|
||||
self.subsManager.configureHttpProxy(httpProxy)
|
||||
self.subsManager.updateSubs(**kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user