mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
[Summary] Fixing the bug: Inspector's Info Panel did not update upon started Tracks Live
This commit is contained in:
parent
7a98bf25cd
commit
9384b4df37
3 changed files with 16 additions and 14 deletions
|
|
@ -137,8 +137,6 @@ class MixerStrip : public RouteUI
|
|||
|
||||
PublicEditor& _editor;
|
||||
|
||||
PBD::ScopedConnectionList _input_output_channels_update;
|
||||
|
||||
private:
|
||||
|
||||
void init ();
|
||||
|
|
|
|||
|
|
@ -93,9 +93,9 @@ RouteInspector::~RouteInspector ()
|
|||
void
|
||||
RouteInspector::update_inspector_info_panel ()
|
||||
{
|
||||
if(!route ())
|
||||
if (!route ()) {
|
||||
return;
|
||||
|
||||
}
|
||||
// Input label
|
||||
std::string input_text;
|
||||
|
||||
|
|
@ -185,17 +185,19 @@ void
|
|||
RouteInspector::set_route (boost::shared_ptr<Route> rt)
|
||||
{
|
||||
MixerStrip::set_route (rt);
|
||||
|
||||
if (route()->is_master()) {
|
||||
master_mute_button.show ();
|
||||
color_buttons_home.set_visible (false);
|
||||
color_palette_button.set_visible (false);
|
||||
color_palette_button.set_active (false);
|
||||
} else {
|
||||
master_mute_button.hide ();
|
||||
color_palette_button.set_visible (true);
|
||||
color_palette_home.set_visible (true);
|
||||
if (route ()) {
|
||||
if (route()->is_master()) {
|
||||
master_mute_button.show ();
|
||||
color_buttons_home.set_visible (false);
|
||||
color_palette_button.set_visible (false);
|
||||
color_palette_button.set_active (false);
|
||||
} else {
|
||||
master_mute_button.hide ();
|
||||
color_palette_button.set_visible (true);
|
||||
color_palette_home.set_visible (true);
|
||||
}
|
||||
}
|
||||
update_inspector_info_panel ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ class RouteInspector : public MixerStrip
|
|||
void update_info_panel ();
|
||||
WavesButton* color_button[15];
|
||||
|
||||
PBD::ScopedConnectionList _input_output_channels_update;
|
||||
|
||||
void route_color_changed ();
|
||||
void color_button_clicked (WavesButton *button);
|
||||
void color_palette_button_clicked (WavesButton *button);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue