Well path import improvements

* #9432 Clean file cache when all wells are deleted
* Key Events: Avoid eating Delete key events 
Do not use a key short cut on menu actions that are always enabled. Will eat events from other actions.

* #9433 Well Path Import: Keep prefix when trying to match existing well path
This commit is contained in:
Magne Sjaastad
2022-11-04 10:11:08 +01:00
committed by GitHub
parent 68c72c85cf
commit f77b3673b0
4 changed files with 42 additions and 23 deletions

View File

@@ -18,6 +18,8 @@
#include "RicDeleteSubPlotCtxFeature.h"
#include <QAction>
CAF_CMD_SOURCE_INIT( RicDeleteSubPlotCtxFeature, "RicDeleteSubPlotCtxFeature" );
//--------------------------------------------------------------------------------------------------
@@ -27,3 +29,12 @@ bool RicDeleteSubPlotCtxFeature::isCommandEnabled()
{
return true;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RicDeleteSubPlotCtxFeature::setupActionLook( QAction* actionToSetup )
{
RicDeleteSubPlotFeature::setupActionLook( actionToSetup );
actionToSetup->setShortcut( QKeySequence() );
}