From 0b9b0137cd7f3859a2534625e67e7f38e1f0e340 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 4 Oct 2016 13:26:11 +0200 Subject: [PATCH] #846 Moved open of plot and 3D view tool buttons to front of toolbars --- ApplicationCode/UserInterface/RiuMainPlotWindow.cpp | 2 +- ApplicationCode/UserInterface/RiuMainWindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationCode/UserInterface/RiuMainPlotWindow.cpp b/ApplicationCode/UserInterface/RiuMainPlotWindow.cpp index 4977b38719..f03c29a895 100644 --- a/ApplicationCode/UserInterface/RiuMainPlotWindow.cpp +++ b/ApplicationCode/UserInterface/RiuMainPlotWindow.cpp @@ -184,8 +184,8 @@ void RiuMainPlotWindow::createToolBars() { QToolBar* toolbar = addToolBar(tr("Window Management")); toolbar->setObjectName(toolbar->windowTitle()); - toolbar->addAction(cmdFeatureMgr->action("RicTilePlotWindowsFeature")); toolbar->addAction(cmdFeatureMgr->action("RicShowMainWindowFeature")); + toolbar->addAction(cmdFeatureMgr->action("RicTilePlotWindowsFeature")); } } diff --git a/ApplicationCode/UserInterface/RiuMainWindow.cpp b/ApplicationCode/UserInterface/RiuMainWindow.cpp index dac36ccd0c..ee15e0dd3d 100644 --- a/ApplicationCode/UserInterface/RiuMainWindow.cpp +++ b/ApplicationCode/UserInterface/RiuMainWindow.cpp @@ -506,9 +506,9 @@ void RiuMainWindow::createToolBars() { QToolBar* toolbar = addToolBar(tr("Window Management")); toolbar->setObjectName(toolbar->windowTitle()); + toolbar->addAction(cmdFeatureMgr->action("RicShowPlotWindowFeature")); toolbar->addAction(cmdFeatureMgr->action("RicLinkVisibleViewsFeature")); toolbar->addAction(cmdFeatureMgr->action("RicTileWindowsFeature")); - toolbar->addAction(cmdFeatureMgr->action("RicShowPlotWindowFeature")); } // View toolbar