From 16a0af6ca530350d65849089848a04d230c88cf2 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 30 Oct 2017 09:57:19 +0200 Subject: [PATCH] Get a tool focus after creation. Need for keyborad input. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 9c6bf5433..49990325b 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -720,6 +720,7 @@ void MainWindow::ClosedDialogWithApply(int result, VMainGraphicsScene *scene) } ArrowTool(true); ui->view->itemClicked(vtool);// Don't check for nullptr here + vtool->setFocus(); // If insert not to the end of file call lite parse if (doc->getCursor() > 0) {