OSC: Add preset loading to OSC GUI
[ardour.git] / gtk2_ardour / note_base.cc
index 6bd6425ac56a08c23d2ae42b7e0b166f7fb989aa..ff0ec34dfb4b0eaff433974c5b73baf820f4c6a5 100644 (file)
@@ -145,9 +145,9 @@ NoteBase::set_selected(bool selected)
                return;
        }
 
-       const uint32_t base_col = base_color();
-
        _selected = selected;
+
+       const uint32_t base_col = base_color();
        set_fill_color (base_col);
 
        set_outline_color(calculate_outline(base_col, _selected));