diff options
author | Florian Jung <flo@windfisch.org> | 2011-05-16 14:21:16 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-05-16 14:21:16 +0000 |
commit | 93ea371c955c961051b5c2e2d7b47881aec04c84 (patch) | |
tree | 6d0fd4674330745b3c3845173f9012c67b7f3107 /muse2/muse/appearance.cpp | |
parent | 03e37abb33dfcaa9d67cadbb3b1d3c5ae17b057d (diff) |
- changed appeareance settings to be able to choose between "y-stretch"
and "no y-stretch" in cakewalk mode
- when changing Midi to Drum or Drum to Midi in tlist, now a songChanged()
gets emitted (fixes bug: slivers were not redrawn when changing that)
Diffstat (limited to 'muse2/muse/appearance.cpp')
-rw-r--r-- | muse2/muse/appearance.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/muse2/muse/appearance.cpp b/muse2/muse/appearance.cpp index df81e3b1..e326e868 100644 --- a/muse2/muse/appearance.cpp +++ b/muse2/muse/appearance.cpp @@ -474,6 +474,7 @@ void Appearance::resetValues() partShownames->setChecked(config->canvasShowPartType & 1); partShowevents->setChecked(config->canvasShowPartType & 2); partShowCakes->setChecked(!(config->canvasShowPartType & 2)); + partCakeStretch->setChecked(config->canvasShowPartType & 4); eventNoteon->setChecked(config->canvasShowPartEvent & (1 << 0)); eventPolypressure->setChecked(config->canvasShowPartEvent & (1 << 1)); @@ -598,8 +599,8 @@ void Appearance::apply() showPartType |= 1; if (partShowevents->isChecked()) showPartType |= 2; - //if (partShowCakes->isChecked()) - // showPartType |= 4; + if (partCakeStretch->isChecked()) + showPartType |= 4; config->canvasShowPartType = showPartType; |