projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor safety fix for the Pane
[ardour.git]
/
libs
/
gtkmm2ext
/
pane.cc
diff --git
a/libs/gtkmm2ext/pane.cc
b/libs/gtkmm2ext/pane.cc
index 3eda140c5705b1c1e05ff7142053f70c87c5807f..e6b067522ec48bc36cdef7cb27ab020250f04895 100644
(file)
--- a/
libs/gtkmm2ext/pane.cc
+++ b/
libs/gtkmm2ext/pane.cc
@@
-363,7
+363,7
@@
Pane::handle_release_event (GdkEventButton* ev, Divider* d)
{
d->dragging = false;
- if (did_move) {
+ if (did_move
&& !children.empty()
) {
children.front().w->queue_resize ();
did_move = false;
}