Left field active after user insert variable.

--HG--
branch : develop
This commit is contained in:
dismine 2014-10-29 15:11:06 +02:00
parent 2041bf8cdb
commit 15691024ae

View File

@ -388,6 +388,7 @@ void DialogTool::PutValHere(QPlainTextEdit *plainTextEdit, QListWidget *listWidg
QTextCursor cursor = plainTextEdit->textCursor(); QTextCursor cursor = plainTextEdit->textCursor();
cursor.insertText(item->text()); cursor.insertText(item->text());
plainTextEdit->setTextCursor(cursor); plainTextEdit->setTextCursor(cursor);
plainTextEdit->setFocus();
} }
} }