diff options
-rw-r--r-- | src/Patchage.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index fc7c6b4..0a6d5e0 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -352,8 +352,11 @@ void Patchage::update_toolbar() { #if defined(USE_LIBJACK) || defined(HAVE_JACK_DBUS) - if (_enable_refresh && _jack_driver->is_attached()) + if (_enable_refresh && _jack_driver->is_attached()) { + _enable_refresh = false; _buffer_size_combo->set_active((int)log2f(_jack_driver->buffer_size()) - 5); + _enable_refresh = true; + } #endif } |