From d2b55e0942fbf01e82ebc15f451d20f08274ed6d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 1 May 2015 16:21:21 +0300 Subject: [PATCH] Resolved issue #284. Remove History icon from work menu, add to top menu. --HG-- branch : develop --- src/app/mainwindow.cpp | 2 +- src/app/mainwindow.ui | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp index a1d0c0eca..f84f608bf 100644 --- a/src/app/mainwindow.cpp +++ b/src/app/mainwindow.cpp @@ -950,7 +950,7 @@ void MainWindow::ToolBarDraws() ui->toolBarDraws->addAction(ui->actionTable); ui->actionTable->setEnabled(false); - ui->toolBarDraws->addAction(ui->actionHistory); + // Don't add to toolbar! ui->actionHistory->setEnabled(false); connect(ui->actionHistory, &QAction::triggered, this, &MainWindow::ActionHistory); diff --git a/src/app/mainwindow.ui b/src/app/mainwindow.ui index 254d53da8..41279900e 100644 --- a/src/app/mainwindow.ui +++ b/src/app/mainwindow.ui @@ -796,7 +796,6 @@ - @@ -819,9 +818,16 @@ + + + History + + + +