]> sigrok.org Git - pulseview.git/commitdiff
Don't set SR_CONF_LIMIT_FRAMES to 1
authorSoeren Apel <redacted>
Fri, 15 Dec 2017 22:56:39 +0000 (23:56 +0100)
committerSoeren Apel <redacted>
Wed, 27 Dec 2017 17:40:19 +0000 (18:40 +0100)
pv/toolbars/mainbar.cpp

index 272e844f981df35ba05be9f1a472322ec2ea99b3..c7b373341041f0bb76491b4ac70709e65da3e03c 100644 (file)
@@ -480,12 +480,6 @@ void MainBar::update_device_config_widgets()
        if (sr_dev->config_check(ConfigKey::LIMIT_SAMPLES, Capability::SET))
                sample_count_supported_ = true;
 
        if (sr_dev->config_check(ConfigKey::LIMIT_SAMPLES, Capability::SET))
                sample_count_supported_ = true;
 
-       if (sr_dev->config_check(ConfigKey::LIMIT_FRAMES, Capability::SET)) {
-               sr_dev->config_set(ConfigKey::LIMIT_FRAMES,
-                       Glib::Variant<guint64>::create(1));
-                       on_config_changed();
-       }
-
        // Add notification of reconfigure events
        disconnect(this, SLOT(on_config_changed()));
        connect(&opts->binding(), SIGNAL(config_changed()),
        // Add notification of reconfigure events
        disconnect(this, SLOT(on_config_changed()));
        connect(&opts->binding(), SIGNAL(config_changed()),