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 c31d99fd)
parent ed98d997
......@@ -1136,7 +1136,7 @@ void MainInterface::customEvent( QEvent *event )
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() )
{
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