sfdb's clock-states are not part of the session-state, use transient clock

fixes issue with 'show import dialog' marking session as modified.
This commit is contained in:
Robin Gareus 2014-01-21 22:20:44 +01:00
parent acc2fa2c7f
commit 02533dd0a4

View 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),