Commit 445ca096 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Only Ctrl+H should make you quit minimalView mode

(cherry picked from commit c31d99fdf67fbc9060fb9f413d06b0acf4efc1b6)
parent ed98d997
...@@ -1136,7 +1136,7 @@ void MainInterface::customEvent( QEvent *event ) ...@@ -1136,7 +1136,7 @@ void MainInterface::customEvent( QEvent *event )
void MainInterface::keyPressEvent( QKeyEvent *e ) void MainInterface::keyPressEvent( QKeyEvent *e )
{ {
if( ( e->modifiers() & Qt::ControlModifier ) && ( e->key() & Qt::Key_H ) if( ( e->modifiers() & Qt::ControlModifier ) && ( e->key() == Qt::Key_H )
&& menuBar()->isHidden() ) && menuBar()->isHidden() )
{ {
toggleMinimalView(); toggleMinimalView();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment