Commit 475a482a authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

qt: fix track menu not disabled when empty

Fixes #19618
parent b0de37e5
......@@ -1345,6 +1345,8 @@ void VLCMenuBar::UpdateItem( intf_thread_t *p_intf, QMenu *menu,
FREENULL( text.psz_string );
return;
}
else
action->setEnabled( false );
switch( i_type & VLC_VAR_TYPE )
{
......
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