From df842d4f2144712d075c91a3b073cdc923bca943 Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Sun, 18 Jun 2017 20:50:56 +0200 Subject: [PATCH 1/1] GlobalSettings: Enable "show sampling points" by default --- pv/globalsettings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pv/globalsettings.cpp b/pv/globalsettings.cpp index ee974103..0a41f31d 100644 --- a/pv/globalsettings.cpp +++ b/pv/globalsettings.cpp @@ -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, -- 2.30.2