mirror of
https://github.com/borgbase/vorta
synced 2025-01-03 05:36:19 +00:00
Coding style and menu fix.
This commit is contained in:
parent
c63c37fed2
commit
3492da4e06
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
from PyQt5.QtWidgets import QMenu, QSystemTrayIcon, QAction
|
||||
from PyQt5.QtWidgets import QMenu, QSystemTrayIcon
|
||||
from PyQt5.QtGui import QIcon
|
||||
|
||||
from .utils import get_asset
|
||||
|
@ -46,7 +46,7 @@ def on_user_click(self):
|
|||
|
||||
if BorgThread.is_running():
|
||||
status.setText('Backup in Progress')
|
||||
profile_menu.setEnabled(False)
|
||||
profile_menu.setVisible(False)
|
||||
cancel_action = menu.addAction("Cancel Backup")
|
||||
cancel_action.triggered.connect(self.app.backup_cancelled_event.emit)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue