diff --git a/qt/info_dialog.cpp b/qt/info_dialog.cpp index 22250ff729..92a948882a 100644 --- a/qt/info_dialog.cpp +++ b/qt/info_dialog.cpp @@ -5,7 +5,6 @@ #include #include #include - #include namespace qt @@ -17,7 +16,8 @@ namespace qt QIcon icon(":logo.png"); setWindowIcon(icon); setWindowTitle(title); - setFocus(); + setFocusPolicy(Qt::StrongFocus); + setWindowModality(Qt::WindowModal); QVBoxLayout * vBox = new QVBoxLayout(); QLabel * label = new QLabel(text); diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp index 18668ce8a9..ebe7b08243 100644 --- a/qt/update_dialog.cpp +++ b/qt/update_dialog.cpp @@ -58,6 +58,8 @@ namespace qt UpdateDialog::UpdateDialog(QWidget * parent, Storage & storage) : QDialog(parent), m_storage(storage) { + setWindowModality(Qt::WindowModal); + string timeString; if (!Settings::Get(LAST_CHECK_TIME_KEY, timeString)) timeString = "Never checked";