From 934a3afd35deac9bf70a19f3adf60dd13b55e982 Mon Sep 17 00:00:00 2001 From: gouldtj Date: Sun, 6 Jan 2008 21:11:39 +0000 Subject: [PATCH] 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 --- src/extension/execution-env.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.30.2