mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user