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

Qt: Fix "chapter buttons not hiding when stop is clicked" issue

http://forum.videolan.org/viewtopic.php?f=14&t=49386
parent 83bade22
......@@ -181,6 +181,12 @@ void InputManager::customEvent( QEvent *event )
type != ItemStateChanged_Type )
return;
if( type == ItemStateChanged_Type )
{
UpdateStatus();
UpdateNavigation();
}
if( !hasInput() ) return;
if( ( type != PositionUpdate_Type &&
......@@ -242,6 +248,7 @@ void InputManager::UpdateNavigation()
{
/* Update navigation status */
vlc_value_t val; val.i_int = 0;
if( hasInput() )
var_Change( p_input, "title", VLC_VAR_CHOICESCOUNT, &val, NULL );
if( val.i_int > 0 )
{
......@@ -356,8 +363,6 @@ void InputManager::UpdateTeletext()
telexToggle( false );
}
void InputManager::UpdateArt()
{
/* Update Art meta */
......
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