]> sigrok.org Git - pulseview.git/commitdiff
GlobalSettings: Enable mouse hover marker by default
authorSoeren Apel <redacted>
Sat, 13 Oct 2018 19:18:28 +0000 (21:18 +0200)
committerSoeren Apel <redacted>
Sat, 13 Oct 2018 19:49:17 +0000 (21:49 +0200)
pv/globalsettings.cpp

index b8f4462c254375654bfbc01e512faaf8835cb77e..ae8682a68f3ba9ec6a31edf7ac9d96c212d6fc97 100644 (file)
@@ -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);