mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make "export contour map" dialog modal relative to 3D main window.
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
#include "RimProject.h"
|
#include "RimProject.h"
|
||||||
#include "RimViewWindow.h"
|
#include "RimViewWindow.h"
|
||||||
|
|
||||||
|
#include "Riu3DMainWindowTools.h"
|
||||||
#include "RiuViewer.h"
|
#include "RiuViewer.h"
|
||||||
|
|
||||||
#include "cafCmdFeatureManager.h"
|
#include "cafCmdFeatureManager.h"
|
||||||
@@ -110,7 +111,7 @@ void RicExportContourMapToTextFeature::onActionTriggered( bool isChecked )
|
|||||||
RicExportContourMapToTextUi featureUi;
|
RicExportContourMapToTextUi featureUi;
|
||||||
featureUi.setExportFileName( startPath );
|
featureUi.setExportFileName( startPath );
|
||||||
|
|
||||||
caf::PdmUiPropertyViewDialog propertyDialog( nullptr,
|
caf::PdmUiPropertyViewDialog propertyDialog( Riu3DMainWindowTools::mainWindowWidget(),
|
||||||
&featureUi,
|
&featureUi,
|
||||||
"Export Contour Map to Text",
|
"Export Contour Map to Text",
|
||||||
"",
|
"",
|
||||||
|
|||||||
Reference in New Issue
Block a user