From: Soeren Apel Date: Sun, 18 Jun 2017 18:50:56 +0000 (+0200) Subject: GlobalSettings: Enable "show sampling points" by default X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=df842d4f2144712d075c91a3b073cdc923bca943;hp=1b56c646e7dd253775b4d6cfceaf327fd8ffd297 GlobalSettings: Enable "show sampling points" by default --- 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,