mirror of
https://github.com/tnodir/fort
synced 2024-11-14 16:33:45 +00:00
UI: RulesWindow::showRulesDialog: Show as modal
This commit is contained in:
parent
49c5502fd7
commit
0fd3ad2638
@ -396,6 +396,8 @@ RulesWindow *RulesWindow::showRulesDialog(Rule::RuleType ruleType, QWidget *pare
|
||||
auto w = new RulesWindow(ruleType, parent, Qt::Dialog);
|
||||
w->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
w->setWindowModality(Qt::WindowModal);
|
||||
|
||||
w->showWindow();
|
||||
|
||||
return w;
|
||||
|
Loading…
Reference in New Issue
Block a user