summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/mixer_ui.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index 90a0944df5..92d41473b7 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -1960,6 +1960,7 @@ Mixer_UI::pane_allocation_handler (Allocation& allocation, Gtk::Paned* which)
}
if (pos > 1.0f) {
+ /* older versions of Ardour stored absolute position */
if ((done[0] = (allocation.get_height() > pos))) {
rhs_pane1.set_position (pos);
}
@@ -1983,6 +1984,7 @@ Mixer_UI::pane_allocation_handler (Allocation& allocation, Gtk::Paned* which)
}
if (pos > 1.0f) {
+ /* older versions of Ardour stored absolute position */
if ((done[1] = (allocation.get_height() > pos))) {
rhs_pane2.set_position (pos);
}
@@ -2029,6 +2031,7 @@ Mixer_UI::pane_allocation_handler (Allocation& allocation, Gtk::Paned* which)
}
if (pos > 1.0f) {
+ /* older versions of Ardour stored absolute position */
if ((done[3] = (allocation.get_width() > pos))) {
inner_pane.set_position (pos);
}