From 9875558e49fb25ee248104ecc4af21819d0269af Mon Sep 17 00:00:00 2001 From: dismine Date: Mon, 26 Jan 2015 17:13:46 +0200 Subject: [PATCH] Fixed issue #222. Move Layout icon on top toolbar so it is next to Detail mode. --HG-- branch : develop --- src/app/mainwindow.cpp | 1 - src/app/mainwindow.ui | 23 ++++++++++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp index f76099bd1..f6fc6b4c8 100644 --- a/src/app/mainwindow.cpp +++ b/src/app/mainwindow.cpp @@ -942,7 +942,6 @@ void MainWindow::ToolBarDraws() ui->actionHistory->setEnabled(false); connect(ui->actionHistory, &QAction::triggered, this, &MainWindow::ActionHistory); - ui->toolBarDraws->addAction(ui->actionLayout); connect(ui->actionLayout, &QAction::triggered, this, &MainWindow::ActionLayout); ui->actionLayout->setEnabled(false); } diff --git a/src/app/mainwindow.ui b/src/app/mainwindow.ui index 688b6463f..176d9e371 100644 --- a/src/app/mainwindow.ui +++ b/src/app/mainwindow.ui @@ -832,7 +832,7 @@ - + true @@ -847,7 +847,7 @@ - + @@ -906,6 +906,18 @@ + + + toolBar + + + TopToolBarArea + + + false + + + @@ -1106,6 +1118,9 @@ + + false + :/icon/32x32/layout.png:/icon/32x32/layout.png @@ -1264,7 +1279,9 @@ - + + + Online help