summaryrefslogtreecommitdiff
path: root/fluid/file.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-09-15 14:00:10 +0200
committerMatthias Melcher <github@matthiasm.com>2024-09-15 14:00:15 +0200
commitda20d8397df263db882e914405bb03b9792f4692 (patch)
tree49f2b1adddea656aa06c52e310d4938e1415a87f /fluid/file.cxx
parentb9b2f5d10fde23d7d0bb184547846e6508fb4313 (diff)
FLUID: Improved paste order option
Diffstat (limited to 'fluid/file.cxx')
-rw-r--r--fluid/file.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx
index 73b51f52c..d06283670 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -406,6 +406,9 @@ Fl_Type *Fd_Project_Reader::read_children(Fl_Type *p, int merge, Strategy strate
t->layout_widget();
}
+ if (strategy == kAddAsFirstChild) {
+ strategy = kAddAfterCurrent;
+ }
if (strategy == kAddAfterCurrent) {
Fl_Type::current = t;
} else {