mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#890 Export faults feature created
This commit is contained in:
@@ -71,6 +71,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <QMenu>
|
||||
#include "RimFault.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -346,6 +347,10 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicReloadFormationNamesFeature";
|
||||
}
|
||||
else if ( dynamic_cast<RimFault*>(uiItem) )
|
||||
{
|
||||
commandIds << "RicExportFaultsFeature";
|
||||
}
|
||||
|
||||
|
||||
if (dynamic_cast<RimView*>(uiItem))
|
||||
@@ -393,6 +398,10 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
|
||||
{
|
||||
commandIds << "RicExportToLasFileFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimFault*>(uiItem) )
|
||||
{
|
||||
commandIds << "RicExportFaultsFeature";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user