Hide tool options before switch to Details mode.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2015-03-19 14:40:54 +02:00
parent f1b7726646
commit c4d7b03905

View File

@ -1260,6 +1260,7 @@ void MainWindow::ActionDetails(bool checked)
SaveCurrentScene();
currentScene = sceneDetails;
ui->view->itemClicked(nullptr);
ui->view->setScene(sceneDetails);
disconnect(ui->view, &VMainGraphicsView::NewFactor, sceneDraw, &VMainGraphicsScene::SetFactor);
RestoreCurrentScene();