mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
#3736 Fix Linking issues related to Contour Maps.
* They are not allowed to be master views so a few things should be disallowed.
This commit is contained in:
1 parent
d69153c013
commit
fcc8ee6e27
4 files changed
+41
-12
No files matched your search
@@ -21,8 +21,9 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
|
||||
#include "RimProject.h"
|
||||
#include "RimContourMapView.h"
|
||||
#include "RimGridView.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimViewController.h"
|
||||
#include "RimViewLinker.h"
|
||||
#include "RimViewLinkerCollection.h"
|
||||
@@ -54,6 +55,11 @@ bool RicSetMasterViewFeature::isCommandEnabled()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (dynamic_cast<RimContourMapView*>(activeView) != nullptr)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user