diff options
| author | Ted Gould <ted@gould.cx> | 2008-01-06 21:11:39 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2008-01-06 21:11:39 +0000 |
| commit | 7bf4c74e86509a5d23130bb7cbded8f97018ce5f (patch) | |
| tree | c96d8fd69b7d9b3c1ae3b8bb5ad51defbdc69b40 /src/extension/execution-env.cpp | |
| parent | Fix LP #168684 (diff) | |
| download | inkscape-7bf4c74e86509a5d23130bb7cbded8f97018ce5f.tar.gz inkscape-7bf4c74e86509a5d23130bb7cbded8f97018ce5f.zip | |
r17510@shi: ted | 2008-01-06 12:48:26 -0800
Changing it so that the timer doesn't go off unless we're in live
effects mode. This fixes lp:176608
(bzr r4410)
Diffstat (limited to 'src/extension/execution-env.cpp')
| -rw-r--r-- | src/extension/execution-env.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp index 72808a096..ea04a8f09 100644 --- a/src/extension/execution-env.cpp +++ b/src/extension/execution-env.cpp @@ -121,7 +121,9 @@ ExecutionEnv::killDocCache (void) { void ExecutionEnv::preferencesChange (void) { _timersig.disconnect(); - _timersig = Glib::signal_timeout().connect(sigc::mem_fun(this, &ExecutionEnv::preferencesTimer), 100, Glib::PRIORITY_DEFAULT_IDLE); + if (_livePreview) { + _timersig = Glib::signal_timeout().connect(sigc::mem_fun(this, &ExecutionEnv::preferencesTimer), 100, Glib::PRIORITY_DEFAULT_IDLE); + } return; } |
