diff options
| author | Ted Gould <ted@gould.cx> | 2008-03-03 04:54:00 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2008-03-03 04:54:00 +0000 |
| commit | 356104187a908f6126c4fecad37c130c048c6be4 (patch) | |
| tree | 2cb99ad388478a77951b7176bcd046c8034dbe87 /src/extension/prefdialog.cpp | |
| parent | Fix LP #196893 (weird snapping of 3D box Z handles) (diff) | |
| download | inkscape-356104187a908f6126c4fecad37c130c048c6be4.tar.gz inkscape-356104187a908f6126c4fecad37c130c048c6be4.zip | |
r18237@shi: ted | 2008-03-01 14:41:25 -0800
Fix for LP: #191772
Makes it so that the response handler handles the DELETE_EVENT response
also. Basically handled the same as close.
(bzr r4934)
Diffstat (limited to 'src/extension/prefdialog.cpp')
| -rw-r--r-- | src/extension/prefdialog.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp index bb0a11d80..cf2f12853 100644 --- a/src/extension/prefdialog.cpp +++ b/src/extension/prefdialog.cpp @@ -222,13 +222,10 @@ PrefDialog::on_response (int signal) { } 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; } |
