summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Group.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx
index 99b442a4e..aa663919f 100644
--- a/src/Fl_Group.cxx
+++ b/src/Fl_Group.cxx
@@ -501,6 +501,7 @@ void Fl_Group::remove(int index) {
if (index < 0 || index >= children_) return;
Fl_Widget &o = *child(index);
if (&o == savedfocus_) savedfocus_ = 0;
+ if (&o == resizable_) resizable_ = this;
if (o.parent_ == this) { // this should always be true
o.parent_ = 0;
}