summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84b402c)
raw | patch | inline | side by side (parent: 84b402c)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Mon, 3 Mar 2008 04:54:00 +0000 (04:54 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Mon, 3 Mar 2008 04:54:00 +0000 (04:54 +0000) |
Fix for LP: #191772
Makes it so that the response handler handles the DELETE_EVENT response
also. Basically handled the same as close.
Makes it so that the response handler handles the DELETE_EVENT response
also. Basically handled the same as close.
src/extension/prefdialog.cpp | patch | blob | history |
index bb0a11d80c7ebe09ac5da9ee1e9602440e1960af..cf2f12853f0fb725601c6338a86ac57ae69b83ff 100644 (file)
}
if (_param_preview != NULL) {
- //_param_preview->set_bool(false, NULL, NULL);
_checkbox_preview->set_active(false);
- //preview_toggle();
}
- if (signal == Gtk::RESPONSE_CANCEL && _effect != NULL) {
- // close the dialog
+ if ((signal == Gtk::RESPONSE_CANCEL || signal == Gtk::RESPONSE_DELETE_EVENT) && _effect != NULL) {
delete this;
}