Skip to content

Commit 04c1caf

Browse files
committed
maint: Merge stable to default.
2 parents bce87d1 + cb52bd7 commit 04c1caf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libgui/src/dialog.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ QUIWidgetCreator::handle_create_dialog (const QString& message,
192192
this, &QUIWidgetCreator::dialog_button_clicked);
193193

194194
message_dialog->setAttribute (Qt::WA_DeleteOnClose);
195+
message_dialog->setModal (true);
195196
message_dialog->show ();
196197
}
197198

@@ -246,6 +247,7 @@ QUIWidgetCreator::handle_create_listview (const QStringList& list,
246247
this, &QUIWidgetCreator::list_select_finished);
247248

248249
list_dialog->setAttribute (Qt::WA_DeleteOnClose);
250+
list_dialog->setModal (true);
249251
list_dialog->show ();
250252
}
251253

@@ -279,6 +281,7 @@ QUIWidgetCreator::handle_create_inputlayout (const QStringList& prompt,
279281
this, &QUIWidgetCreator::input_finished);
280282

281283
input_dialog->setAttribute (Qt::WA_DeleteOnClose);
284+
input_dialog->setModal (true);
282285
input_dialog->show ();
283286
}
284287

@@ -309,6 +312,7 @@ QUIWidgetCreator::handle_create_filedialog (const QStringList& filters,
309312
this, &QUIWidgetCreator::filedialog_finished);
310313

311314
file_dialog->setAttribute (Qt::WA_DeleteOnClose);
315+
file_dialog->setModal (true);
312316
file_dialog->show ();
313317
}
314318

0 commit comments

Comments
 (0)