mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 02:54:16 +02:00
update refactoring
This commit is contained in:
@@ -618,7 +618,7 @@ class ManageWindow(QWidget):
|
||||
|
||||
def downgrade_app(self, app: ApplicationView):
|
||||
pwd = None
|
||||
requires_root = self.manager.requires_root('downgrade', self.table_apps.get_selected_app().model)
|
||||
requires_root = self.manager.requires_root('downgrade', app.model)
|
||||
|
||||
if not is_root() and requires_root:
|
||||
pwd, ok = ask_root_password(self.locale_keys)
|
||||
|
||||
Reference in New Issue
Block a user