summaryrefslogtreecommitdiff
path: root/fluid/function_panel.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-07-17 12:56:23 +0200
committerMatthias Melcher <github@matthiasm.com>2023-07-17 12:56:35 +0200
commit4d94a08bd2fcd681d33bfb51228ace3b432b19ab (patch)
tree5867ce7627bf48eaf8cd7fe8ce76839ea37ab36b /fluid/function_panel.cxx
parent4dffa31520f66fe0baea574ea391ec58a77eaa49 (diff)
FLUID: fix window visibility across project file update
Diffstat (limited to 'fluid/function_panel.cxx')
-rw-r--r--fluid/function_panel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx
index c9a43b2fb..88a2762cb 100644
--- a/fluid/function_panel.cxx
+++ b/fluid/function_panel.cxx
@@ -191,8 +191,8 @@ Fl_Double_Window* make_code_panel() {
} // Fl_Box* o
o->end();
} // Fl_Group* o
- o->size_range(200, 150);
code_panel->set_modal();
+ o->size_range(200, 150);
code_panel->end();
} // Fl_Double_Window* code_panel
// Enable line numbers
@@ -245,8 +245,8 @@ Fl_Double_Window* make_codeblock_panel() {
} // Fl_Box* o
o->end();
} // Fl_Group* o
- o->size_range(o->w(), o->h(), Fl::w(), o->h());
codeblock_panel->set_modal();
+ o->size_range(o->w(), o->h(), Fl::w(), o->h());
codeblock_panel->end();
} // Fl_Double_Window* codeblock_panel
return codeblock_panel;
@@ -326,8 +326,8 @@ Fl_Double_Window* make_declblock_panel() {
} // Fl_Box* o
o->end();
} // Fl_Group* o
- o->size_range(o->w(), o->h(), Fl::w(), o->h());
declblock_panel->set_modal();
+ o->size_range(o->w(), o->h(), Fl::w(), o->h());
declblock_panel->end();
} // Fl_Double_Window* declblock_panel
return declblock_panel;
@@ -693,8 +693,8 @@ Fl_Double_Window* make_comment_panel() {
} // Fl_Box* o
o->end();
} // Fl_Group* o
- o->size_range(320, 180);
comment_panel->set_modal();
+ o->size_range(320, 180);
comment_panel->end();
} // Fl_Double_Window* comment_panel
return comment_panel;