Commit 9da04c54 authored by Alexander Semke's avatar Alexander Semke

Changed the order of "Export" and "Import" actions in the project toolbar to

be more consistent with the order in the main menu and also with the
order for "Open" and "Save" actions.
parent a46f3fb9
......@@ -293,7 +293,8 @@ void MainWin::initGUI(const QString& fileName) {
tbImport->setPopupMode(QToolButton::MenuButtonPopup);
tbImport->setMenu(m_importMenu);
tbImport->setDefaultAction(m_importFileAction);
mainToolBar->addWidget(tbImport);
auto* lastAction = mainToolBar->actions().at(mainToolBar->actions().count() - 1);
mainToolBar->insertWidget(lastAction, tbImport);
qobject_cast<QMenu*>(factory()->container("import", this))->setIcon(QIcon::fromTheme("document-import"));
setWindowIcon(QIcon::fromTheme("LabPlot2", QGuiApplication::windowIcon()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment