Commit 44f71816 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX #266] on Mac, the filtered menu items now get disabled instead of being...

[FIX #266] on Mac, the filtered menu items now get disabled instead of being hidden. This might fix the problem.
parent eac5459c
......@@ -143,13 +143,21 @@ void WQtMenuFiltered::filterUpdate()
// match value against filter
if( match )
{
( *a )->setVisible( true );
#ifdef __APPLE__
( *a )->setDisabled( false );
#else
( *a )->setVisible( true );
#endif
nbLeft++;
lastVisibleAction = *a;
}
else
{
( *a )->setVisible( false );
#ifdef __APPLE__
( *a )->setDisabled( true );
#else
( *a )->setVisible( false );
#endif
}
}
}
......
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