Commit 9a635062 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: display an "empty" action instead of an empty menu

parent b0195313
......@@ -67,6 +67,9 @@ void QMenuView::rebuild()
/* Rebuild from root */
build( QModelIndex() );
if( isEmpty() )
addAction( qtr( "Empty" ) )->setDisabled( true );
}
/* */
......
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