Left navigation panel priority for menu

Selecting a source does not exit Session or Playlist panel.
This commit is contained in:
Bruno Herbelin
2024-08-24 20:29:30 +02:00
parent 792d98dfd5
commit c5a14422ee

View File

@@ -634,7 +634,8 @@ void UserInterface::handleMouse()
Mixer::manager().setCurrentSource( s );
else
Mixer::manager().unsetCurrentSource();
if (navigator.pannelVisible())
if (navigator.pannelVisible() &&
navigator.selectedPannelSource() < NAV_MAX)
navigator.showPannelSource( Mixer::manager().indexCurrentSource() );
// indicate to view that an action can be initiated (e.g. grab)