summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-08-23 08:37:21 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-08-23 08:37:21 +0000
commit7e02be0309fbe276358efeedf01b2609b07d5988 (patch)
treebd9c150033c1173c694c81f0295b0fd4f1da0833 /fluid
parent4ba366f7d78676e7bd13d9f9d8943c99df39a6f2 (diff)
Project settings in FLUID now also set a project as 'modified'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Window_Type.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index 6ded1196f..00155c656 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -220,14 +220,21 @@ void show_settings_cb(Fl_Widget *, void *) {
}
void header_input_cb(Fl_Input* i, void*) {
+ if (header_file_name && strcmp(header_file_name, i->value()))
+ set_modflag(1);
header_file_name = i->value();
}
void code_input_cb(Fl_Input* i, void*) {
+ if (code_file_name && strcmp(code_file_name, i->value()))
+ set_modflag(1);
code_file_name = i->value();
}
void include_H_from_C_button_cb(Fl_Light_Button* b, void*) {
- include_H_from_C = b->value();
+ if (include_H_from_C != b->value()) {
+ set_modflag(1);
+ include_H_from_C = b->value();
+ }
}
////////////////////////////////////////////////////////////////