mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[ui] -> fix: crashing when nothing can be upgraded
This commit is contained in:
@@ -18,7 +18,8 @@ class ProcessWatcher:
|
||||
pass
|
||||
|
||||
def request_confirmation(self, title: str, body: str, components: List[ViewComponent] = None, confirmation_label: str = None,
|
||||
deny_label: str = None, deny_button: bool = True, window_cancel: bool = False) -> bool:
|
||||
deny_label: str = None, deny_button: bool = True, window_cancel: bool = False,
|
||||
confirmation_button: bool = True) -> bool:
|
||||
"""
|
||||
request a user confirmation. In the current GUI implementation, it shows a popup to the user.
|
||||
:param title: popup title
|
||||
@@ -28,6 +29,7 @@ class ProcessWatcher:
|
||||
:param deny_label: optional deny button label (default to 'no')
|
||||
:param deny_button: if the deny button should be displayed
|
||||
:param window_cancel: if the window cancel button should be visible
|
||||
:param confirmation_button: if the confirmation button should be displayed
|
||||
:return: if the request was confirmed by the user
|
||||
"""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user