mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
(#339) Added RicNewScriptFeature
This commit is contained in:
1 parent
f0ee19d8f7
commit
ac529b77da
5 files changed
+179
No files matched your search
@@ -657,6 +657,8 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
|
||||
else if (dynamic_cast<RimCalcScript*>(uiItem))
|
||||
{
|
||||
commandIds << "RicEditScriptFeature";
|
||||
commandIds << "RicNewScriptFeature";
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicExecuteScriptFeature";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -540,6 +540,7 @@ void RimUiTreeView::slotEditScript()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
// OBSOLETE - see RicNewScriptFeature
|
||||
void RimUiTreeView::slotNewScript()
|
||||
{
|
||||
QModelIndex index = currentIndex();
|
||||
|
||||
Reference in new issue
Block a user