From: Soeren Apel Date: Sat, 13 Oct 2018 19:18:28 +0000 (+0200) Subject: GlobalSettings: Enable mouse hover marker by default X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6fff12acb797c5363f5ac2e60a9b747032f2ce79;p=pulseview.git GlobalSettings: Enable mouse hover marker by default --- diff --git a/pv/globalsettings.cpp b/pv/globalsettings.cpp index b8f4462c..ae8682a6 100644 --- a/pv/globalsettings.cpp +++ b/pv/globalsettings.cpp @@ -89,6 +89,9 @@ void GlobalSettings::set_defaults_where_needed() setValue(Key_View_DefaultLogicHeight, 2 * QFontMetrics(QApplication::font()).height()); + if (!contains(Key_View_ShowHoverMarker)) + setValue(Key_View_ShowHoverMarker, true); + if (!contains(Key_View_SnapDistance)) setValue(Key_View_SnapDistance, 15);