Skip to content

Commit

Permalink
Propagate keyRelease event from main app window
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 1, 2015
1 parent ce18a60 commit 853e913
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -9888,6 +9888,10 @@ void QgisApp::keyReleaseEvent( QKeyEvent *event )
event->setAccepted( accepted ); // don't close my Top Level Widget !
accepted = false;// close the app next time when the user press back button
}
else
{
QMainWindow::keyReleaseEvent( event );
}
}
#endif

Expand Down

0 comments on commit 853e913

Please sign in to comment.