From: gouldtj Date: Sun, 6 Jan 2008 21:11:39 +0000 (+0000) Subject: r17510@shi: ted | 2008-01-06 12:48:26 -0800 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=934a3afd35deac9bf70a19f3adf60dd13b55e982;p=inkscape.git 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 --- 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; }