projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4521022
)
GlobalSettings: Enable mouse hover marker by default
author
Soeren Apel
<soeren@apelpie.net>
Sat, 13 Oct 2018 19:18:28 +0000
(21:18 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Sat, 13 Oct 2018 19:49:17 +0000
(21:49 +0200)
pv/globalsettings.cpp
patch
|
blob
|
history
diff --git
a/pv/globalsettings.cpp
b/pv/globalsettings.cpp
index b8f4462c254375654bfbc01e512faaf8835cb77e..ae8682a68f3ba9ec6a31edf7ac9d96c212d6fc97 100644
(file)
--- 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);