]> sigrok.org Git - pulseview.git/blobdiff - pv/toolbars/mainbar.cpp
Fix #1035 by checking for exceptions when accessing config
[pulseview.git] / pv / toolbars / mainbar.cpp
index 6d225369dda8516563160dec278167b63c6c3c9f..e6beb2b3ba704e198c8aff0076787a9d96798fe9 100644 (file)
@@ -384,7 +384,7 @@ void MainBar::update_sample_rate_selector_value()
                sample_rate_.set_value(samplerate);
                updating_sample_rate_ = false;
        } catch (Error& error) {
-               qDebug() << tr("Failed to get value of sample rate:") << error.what();
+               qDebug() << tr("Failed to get sample rate:") << error.what();
        }
 }