diff --git a/src/vorta/tray_menu.py b/src/vorta/tray_menu.py index ee6022ac..c8eb2492 100644 --- a/src/vorta/tray_menu.py +++ b/src/vorta/tray_menu.py @@ -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: