mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7481 Usability : Include case name in menu item text
This commit is contained in:
@@ -260,9 +260,10 @@ void RiuSummaryQwtPlot::contextMenuEvent( QContextMenuEvent* event )
|
||||
{
|
||||
int summaryCaseId = summaryCase->caseId();
|
||||
QVariant summaryCaseIdVariant( summaryCaseId );
|
||||
auto modelName = summaryCase->nativeCaseName();
|
||||
|
||||
menuBuilder.addCmdFeatureWithUserData( "RicImportGridModelFromSummaryCurveFeature",
|
||||
"Open Grid Model",
|
||||
QString( "Open Grid Model '%1'" ).arg( modelName ),
|
||||
summaryCaseIdVariant );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user