Get a tool focus after creation.

Need for keyborad input.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-30 09:57:19 +02:00
parent cbf3e4d5df
commit 16a0af6ca5

View File

@ -720,6 +720,7 @@ void MainWindow::ClosedDialogWithApply(int result, VMainGraphicsScene *scene)
} }
ArrowTool(true); ArrowTool(true);
ui->view->itemClicked(vtool);// Don't check for nullptr here ui->view->itemClicked(vtool);// Don't check for nullptr here
vtool->setFocus();
// If insert not to the end of file call lite parse // If insert not to the end of file call lite parse
if (doc->getCursor() > 0) if (doc->getCursor() > 0)
{ {