fix weird behavior when zooming at the same time of création of shape item

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4251 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-11-07 12:28:43 +00:00
parent dcf9011c43
commit 70398a2773
6 changed files with 114 additions and 81 deletions

View File

@@ -66,6 +66,7 @@ bool DiagramEventInterface::keyPressEvent(QKeyEvent *event) {
if (event->key() == Qt::Key_Escape) {
m_running = false;
m_abort = true;
emit finish();
return true;
}
return false;