diff --git a/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp b/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp index 9b123d2d6c..caf3bd484d 100644 --- a/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp +++ b/ApplicationCode/ProjectDataModel/RimContextCommandBuilder.cpp @@ -405,7 +405,11 @@ QStringList RimContextCommandBuilder::commandsFromSelection() } else if (dynamic_cast(uiItem)) { - commandIds << "RicAsciiExportSummaryPlotFeature"; + // Do not add twice to make sure the first position in the menu is used for the action + if (!commandIds.contains("RicAsciiExportSummaryPlotFeature")) + { + commandIds << "RicAsciiExportSummaryPlotFeature"; + } } else if (dynamic_cast(uiItem)) {