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 authored and GitHub committed 2022-11-04 10:11:08 +01:00
1 parent 68c72c85cf
commit f77b3673b0
4 files changed
+42 -23

No files matched your search

@@ -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() );
}
@@ -29,4 +29,5 @@ class RicDeleteSubPlotCtxFeature : public RicDeleteSubPlotFeature
protected:
bool isCommandEnabled() override;
void setupActionLook( QAction* actionToSetup ) override;
};