From 0e64edb42f0c229d6768efd668da4e6257b9850e Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Sat, 14 Feb 2015 21:13:44 +0200 Subject: [PATCH] [Summary] Making changes in selection status of SKIP markers visible (text color changes) --- gtk2_ardour/marker.cc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index 050477502b..461d627c09 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -520,11 +520,19 @@ Marker::set_selected (bool yn) if(yn != _selected) { _selected = yn; /* only show selection status for non-skip (range) markers */ - if (_location && !_location->is_skip()) { + if (_location) { if (yn) { - set_color (ARDOUR_UI::config()->get_canvasvar_LocationSelected()); + if (!_location->is_skip()) { + set_color (ARDOUR_UI::config()->get_canvasvar_LocationSelected()); + } else { + use_color (); + } } else { - reset_color (); + if (!_location->is_skip()) { + reset_color (); + } else { + use_color (); + } } }