]> sigrok.org Git - pulseview.git/commitdiff
GlobalSettings: Enable "show sampling points" by default
authorSoeren Apel <redacted>
Sun, 18 Jun 2017 18:50:56 +0000 (20:50 +0200)
committerUwe Hermann <redacted>
Wed, 5 Jul 2017 22:37:08 +0000 (00:37 +0200)
pv/globalsettings.cpp

index ee9741030c1098ee8d6c5352dfef6feccfa5fbdf..0a41f31d722315406b2efe1e7170ae9b24769059 100644 (file)
@@ -47,6 +47,10 @@ void GlobalSettings::set_defaults_where_needed()
        // Enable coloured trace backgrounds by default
        if (!contains(Key_View_ColouredBG))
                setValue(Key_View_ColouredBG, true);
+
+       // Enable showing sampling points by default
+       if (!contains(Key_View_ShowSamplingPoints))
+               setValue(Key_View_ShowSamplingPoints, true);
 }
 
 void GlobalSettings::register_change_handler(const QString key,