From 9fa8c4de276442190d58c91ad1930094dc3610f3 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 27 Jan 2016 22:10:34 +0900 Subject: [PATCH] Installwizard: not app-modal on MacOSX Making a window with no parent window-modal on Mac makes it application-modal. This is different to behaviour under X, and we don't want that. Use QDialog instead. --- gui/qt/installwizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index e751233e8..c4be82c9f 100644 --- a/gui/qt/installwizard.py +++ b/gui/qt/installwizard.py @@ -64,11 +64,11 @@ class CosignWidget(QWidget): # WindowModalDialog must come first as it overrides show_error -class InstallWizard(WindowModalDialog, WizardBase): +class InstallWizard(QDialog, MessageBoxMixin, WizardBase): def __init__(self, config, app, plugins): - title = 'Electrum - ' + _('Install Wizard') - WindowModalDialog.__init__(self, None, title=title) + QDialog.__init__(self, None) + self.setWindowTitle('Electrum - ' + _('Install Wizard')) self.app = app self.config = config # Set for base base class