mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Made the menu builder in RimProject handle separators.
Also rigging for Script commands and generic toggle
This commit is contained in:
@@ -44,6 +44,7 @@ namespace caf
|
||||
|
||||
|
||||
class QAction;
|
||||
class QMenu;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -80,7 +81,7 @@ public:
|
||||
|
||||
RimOilField* activeOilField();
|
||||
|
||||
void actionsBasedOnSelection(std::vector<QAction*>& actions);
|
||||
void actionsBasedOnSelection(QMenu& contextMenu);
|
||||
|
||||
protected:
|
||||
// Overridden methods
|
||||
|
||||
Reference in New Issue
Block a user