Get a tool focus after creation.
Need for keyborad input. --HG-- branch : develop
This commit is contained in:
parent
cbf3e4d5df
commit
16a0af6ca5
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user