From f72574d1ad9d63470eac5cffdb123c34b47e1896 Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Sun, 14 Apr 2024 16:41:58 +0200 Subject: [PATCH] Prevent the dialogs to be hidden behind the main window This also menas that when the main window is closed, the dialogs get closed automatically, and not only when the map window is closed. --- plugins/feature/map/mapgui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/feature/map/mapgui.cpp b/plugins/feature/map/mapgui.cpp index 8bd3d6a0b..a5056e600 100644 --- a/plugins/feature/map/mapgui.cpp +++ b/plugins/feature/map/mapgui.cpp @@ -198,9 +198,9 @@ MapGUI::MapGUI(PluginAPI* pluginAPI, FeatureUISet *featureUISet, Feature *featur m_polygonMapModel(this), m_polylineMapModel(this), m_beacons(nullptr), - m_beaconDialog(this), - m_ibpBeaconDialog(this), - m_radioTimeDialog(this), + m_beaconDialog(this, this), + m_ibpBeaconDialog(this, this), + m_radioTimeDialog(this, this), m_cesium(nullptr), m_legend(nullptr), m_nasaWidget(nullptr),