In rare case in the diagram editor, when we add an element in the diagram and quickly click left, qet crash.

This commit try to avoid this crash, but without any certitude because the crash is very difficult to reproduce


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4959 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-05-13 16:01:47 +00:00
parent 2c9e1898c2
commit fee0c55d9c
3 changed files with 66 additions and 11 deletions

View File

@@ -72,7 +72,7 @@ bool DiagramEventInterface::keyPressEvent(QKeyEvent *event) {
return false;
}
bool DiagramEventInterface::KeyReleaseEvent(QKeyEvent *event) {
bool DiagramEventInterface::keyReleaseEvent(QKeyEvent *event) {
Q_UNUSED (event);
return false;
}