Commit c31d99fd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Only Ctrl+H should make you quit minimalView mode

parent 2043fd54
...@@ -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