diff options
Diffstat (limited to 'src/gui/App.cpp')
-rw-r--r-- | src/gui/App.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp index 20d8898f..ff9636b9 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -317,7 +317,9 @@ App::property_change(const URI& subject, { if (subject != URI("ingen:/engine")) { return; - } else if (key == uris().param_sampleRate && value.type() == forge().Int) { + } + + if (key == uris().param_sampleRate && value.type() == forge().Int) { _sample_rate = value.get<int32_t>(); } else if (key == uris().bufsz_maxBlockLength && value.type() == forge().Int) { _block_length = value.get<int32_t>(); |