STR 1025: fixed illeagal acces to delted object. It was meant to set the dirty flag in the parent of course.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2005-09-19 21:10:48 +00:00
parent b303985d92
commit 83d58a96b2
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #571, STR #648, STR #692, STR
#730, STR #744, STR #745, STR #931, STR #942, STR #960,
STR #969)
- Fixed illegal acces in Preferenes (STR #1025)
- Fixed x-offset problem in Help_Widget (STR #998)
- Clipboard will persist if owner window is hidden (STR #1019)
- Fixed handling of Win32 Device Contexts (STR #1007)

View File

@ -1111,9 +1111,9 @@ char Fl_Preferences::Node::remove()
break;
}
}
parent_->dirty_ = 1;
}
delete this;
dirty_ = 1;
return ( nd != 0 );
}