mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4316 Fix context menu with multiple selected well paths
This commit is contained in:
@@ -236,4 +236,12 @@ bool CmdFeatureMenuBuilder::isCmdFeatureAdded(const QString &commandId)
|
||||
return false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t CmdFeatureMenuBuilder::itemCount() const
|
||||
{
|
||||
return m_items.size();
|
||||
}
|
||||
|
||||
} // end namespace caf
|
||||
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
void appendToMenu(QMenu* menu);
|
||||
|
||||
bool isCmdFeatureAdded(const QString &commandId);
|
||||
|
||||
size_t itemCount() const;
|
||||
private:
|
||||
struct MenuItem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user