restore functionality of show/hide column in mixer track/bus list

git-svn-id: svn://localhost/ardour2/branches/3.0@12994 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-07-08 19:03:20 +00:00
parent e2c26e1b99
commit 36b0ff4ea9

View File

@ -1022,7 +1022,6 @@ Mixer_UI::track_display_button_press (GdkEventButton* ev)
return false;
case 1: /* visibility */
if ((iter = track_model->get_iter (path))) {
MixerStrip* strip = (*iter)[track_columns.strip];
if (strip) {
@ -1030,10 +1029,8 @@ Mixer_UI::track_display_button_press (GdkEventButton* ev)
if (!strip->route()->is_master() && !strip->route()->is_monitor()) {
bool visible = (*iter)[track_columns.visible];
(*iter)[track_columns.visible] = !visible;
redisplay_track_list ();
}
#ifdef GTKOSX
track_display.queue_draw();
#endif
}
}
return true;