File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ QUIWidgetCreator::handle_create_dialog (const QString& message,
192
192
this , &QUIWidgetCreator::dialog_button_clicked);
193
193
194
194
message_dialog->setAttribute (Qt::WA_DeleteOnClose);
195
+ message_dialog->setModal (true );
195
196
message_dialog->show ();
196
197
}
197
198
@@ -246,6 +247,7 @@ QUIWidgetCreator::handle_create_listview (const QStringList& list,
246
247
this , &QUIWidgetCreator::list_select_finished);
247
248
248
249
list_dialog->setAttribute (Qt::WA_DeleteOnClose);
250
+ list_dialog->setModal (true );
249
251
list_dialog->show ();
250
252
}
251
253
@@ -279,6 +281,7 @@ QUIWidgetCreator::handle_create_inputlayout (const QStringList& prompt,
279
281
this , &QUIWidgetCreator::input_finished);
280
282
281
283
input_dialog->setAttribute (Qt::WA_DeleteOnClose);
284
+ input_dialog->setModal (true );
282
285
input_dialog->show ();
283
286
}
284
287
@@ -309,6 +312,7 @@ QUIWidgetCreator::handle_create_filedialog (const QStringList& filters,
309
312
this , &QUIWidgetCreator::filedialog_finished);
310
313
311
314
file_dialog->setAttribute (Qt::WA_DeleteOnClose);
315
+ file_dialog->setModal (true );
312
316
file_dialog->show ();
313
317
}
314
318
You can’t perform that action at this time.
0 commit comments