mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary context menu cleanup and fixes (#9165)
* Make summary plot ctx menu items show up for the plot you right-click on, not the one selected in the project tree.
This commit is contained in:
@@ -21,8 +21,10 @@
|
||||
#include "cafCmdFeature.h"
|
||||
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
class RiuTabbedTextProvider;
|
||||
class RimPlot;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -36,6 +38,9 @@ protected:
|
||||
void onActionTriggered( bool isChecked ) override;
|
||||
void setupActionLook( QAction* actionToSetup ) override;
|
||||
|
||||
private:
|
||||
void getSelection( std::vector<RimPlot*>& selection );
|
||||
|
||||
public:
|
||||
static void showTabbedTextWindow( RiuTabbedTextProvider* textProvider );
|
||||
static void showTextWindow( const QString& title, const QString& text );
|
||||
|
||||
Reference in New Issue
Block a user