sfdb's clock-states are not part of the session-state, use transient clock
authorRobin Gareus <robin@gareus.org>
Tue, 21 Jan 2014 21:20:44 +0000 (22:20 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 21 Jan 2014 21:20:44 +0000 (22:20 +0100)
fixes issue with 'show import dialog' marking session as modified.

gtk2_ardour/sfdb_ui.cc

index 7637025a41d367b6b425b0f71a9d353e27a11d94..826dde8b7b3f9d40f29dd6c7a7a15a92eecd9e27 100644 (file)
@@ -118,8 +118,8 @@ importmode2string (ImportMode mode)
 
 SoundFileBox::SoundFileBox (bool persistent)
        : table (6, 2),
-         length_clock ("sfboxLengthClock", !persistent, "", false, false, true, false),
-         timecode_clock ("sfboxTimecodeClock", !persistent, "", false, false, false, false),
+         length_clock ("sfboxLengthClock", true, "", false, false, true, false),
+         timecode_clock ("sfboxTimecodeClock", true, "", false, false, false, false),
          main_box (false, 6),
          autoplay_btn (_("Auto-play")),
          seek_slider(0,1000,1),