[view] improvement: allowing max_width to be defined for the confirmation dialogs

This commit is contained in:
Vinicius Moreira
2022-03-30 17:14:46 -03:00
parent 889a30e2e8
commit 45c586ed4b
4 changed files with 12 additions and 5 deletions

View File

@@ -559,7 +559,8 @@ class ManageWindow(QWidget):
window_cancel=msg['window_cancel'],
confirmation_button=msg.get('confirmation_button', True),
min_width=msg.get('min_width'),
min_height=msg.get('min_height'))
min_height=msg.get('min_height'),
max_width=msg.get('max_width'))
diag.ask()
res = diag.confirmed
self.thread_animate_progress.animate()