summaryrefslogtreecommitdiff
path: root/muse2/awl/floatentry.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-09-27 16:08:57 +0000
committerFlorian Jung <flo@windfisch.org>2011-09-27 16:08:57 +0000
commite9e38901f1b0c8b0d4c11f6de37abf7ff6c7234f (patch)
tree6db56ee33fda6adce28afc456c4fd84b56180453 /muse2/awl/floatentry.cpp
parent5c2eaaf143f517e1a4d52e243a761e479aeb3e5b (diff)
parentd52fac00567bb85944188f3c946b86b2a420819c (diff)
merged with trunk
Diffstat (limited to 'muse2/awl/floatentry.cpp')
-rw-r--r--muse2/awl/floatentry.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/muse2/awl/floatentry.cpp b/muse2/awl/floatentry.cpp
index 44739944..573420df 100644
--- a/muse2/awl/floatentry.cpp
+++ b/muse2/awl/floatentry.cpp
@@ -22,6 +22,7 @@
#include "floatentry.h"
#include "fastlog.h"
+#include "gconfig.h"
#include <QLineEdit>
#include <QMouseEvent>
@@ -219,7 +220,9 @@ void FloatEntry::repeat()
switch (button) {
case Qt::LeftButton:
- return;
+ if (!MusEConfig::config.leftMouseButtonCanDecrease)
+ return;
+ // else fall through
case Qt::MidButton:
decValue(evx);
break;