summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7738cc)
raw | patch | inline | side by side (parent: e7738cc)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Sun, 6 Jan 2008 21:11:39 +0000 (21:11 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Sun, 6 Jan 2008 21:11:39 +0000 (21:11 +0000) |
Changing it so that the timer doesn't go off unless we're in live
effects mode. This fixes lp:176608
effects mode. This fixes lp:176608
src/extension/execution-env.cpp | patch | blob | history |
index 72808a096b660170f4c0db7acc348c89b167724e..ea04a8f09ebc50c53388cab386a54c66740c761d 100644 (file)
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;
}