summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-03-02 22:43:19 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-03-02 22:43:19 +0000
commitb3ddcbcee491a48091f9b4b927c953cbcd0e8963 (patch)
tree8b3298021871f58c3bb468792a5f8ef3cc678220 /gtk2_ardour/audio_clock.cc
parent10b224790b5a371d70f99d84b38ff82b82680e97 (diff)
group clocks in location UI and region editor so that they all change modes together
git-svn-id: svn://localhost/ardour2/branches/3.0@9048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r--gtk2_ardour/audio_clock.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc
index 6e65e512b2..dd781c270d 100644
--- a/gtk2_ardour/audio_clock.cc
+++ b/gtk2_ardour/audio_clock.cc
@@ -2056,10 +2056,11 @@ AudioClock::set_mode (Mode m)
clock_base.show_all ();
key_entry_state = 0;
- if (!is_transient) {
- ModeChanged (); /* EMIT SIGNAL */
- mode_changed (); /* EMIT SIGNAL */
- }
+ if (!is_transient) {
+ ModeChanged (); /* EMIT SIGNAL (the static one)*/
+ }
+
+ mode_changed (); /* EMIT SIGNAL (the member one) */
}
void