summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-10-24 19:00:27 -0600
committerAndreas Kling <kling@serenityos.org>2020-10-25 06:52:48 +0100
commit567f2f3548c14adc6909a82674a18878657d4e94 (patch)
tree1ed301d9957a2854665a5e9b9164f5bd0ff713cb
parent5f9906f1887752ea92e919347cc6ac31678b3cb4 (diff)
downloadserenity-567f2f3548c14adc6909a82674a18878657d4e94.zip
LibGUI: Fix walking Splitter's child widgets
-rw-r--r--Libraries/LibGUI/Splitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/Splitter.cpp b/Libraries/LibGUI/Splitter.cpp
index b4ad00c6ea..d99e735b8d 100644
--- a/Libraries/LibGUI/Splitter.cpp
+++ b/Libraries/LibGUI/Splitter.cpp
@@ -107,6 +107,7 @@ bool Splitter::get_resize_candidates_at(const Gfx::IntPoint& position, Widget*&
return IterationDecision::Break;
}
+ previous_widget = &child_widget;
return IterationDecision::Continue;
});
return found_candidates;