summaryrefslogtreecommitdiffhomepage
path: root/gui/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ui.cpp')
-rw-r--r--gui/ui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gui/ui.cpp b/gui/ui.cpp
index e59b1c23..2bd8e72a 100644
--- a/gui/ui.cpp
+++ b/gui/ui.cpp
@@ -446,7 +446,6 @@ bool mk_dialog(mem<dylib> lib, mem<t>& orig)
orig = dialog;
dialog->show();
- dialog->raise();
QObject::connect(dialog.get(), &plugin_api::detail::BaseDialog::closing, [&]() -> void { orig = nullptr; });
@@ -486,7 +485,6 @@ bool mk_window(mem<t>* place, Args&&... params)
*place = std::make_shared<t>(std::forward<Args>(params)...);
(*place)->setWindowFlags(Qt::Dialog);
(*place)->show();
- (*place)->raise();
return true;
}
}