[ui] removed more unnecessary 'x' buttons from some dialogs

This commit is contained in:
Vinicius Moreira
2020-04-29 16:58:39 -03:00
parent 5bd6858f7d
commit 780667f5c3
6 changed files with 13 additions and 10 deletions

View File

@@ -50,7 +50,7 @@ class AsyncAction(QThread, ProcessWatcher):
self.stop = False
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 = True) -> bool:
confirmation_label: str = None, deny_label: str = None, deny_button: bool = True, window_cancel: bool = False) -> bool:
self.wait_confirmation = True
self.signal_confirmation.emit({'title': title, 'body': body, 'components': components, 'confirmation_label': confirmation_label, 'deny_label': deny_label, 'deny_button': deny_button, 'window_cancel': window_cancel})
self.wait_user()