summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2aa00d)
raw | patch | inline | side by side (parent: a2aa00d)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 4 Nov 2007 00:12:20 +0000 (00:12 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 4 Nov 2007 00:12:20 +0000 (00:12 +0000) |
src/extension/prefdialog.cpp | patch | blob | history |
index 9ee9b08cd99a5d7c9036271b4847d6b8fec6555e..d9596986de0765bbc18a7c0c6746661698514c23 100644 (file)
void
PrefDialog::on_response (int signal) {
+ if (!_exEnv) {
+ // apparantly this effect does not use the new ExecutionEnv stuff.
+ // _param_pinned and _effect will be null, and the code below will crash: return here!
+ return;
+ }
//printf("Got signal %d\n", signal);
if (!_param_pinned->get_bool(NULL, NULL)) {
- // Not my job if we're not pinned
+ // Not my job if we're not pinned (either not pinned, or not even a pinned checkbox)
// It's the execution environment's job
return;
}