summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagenda.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index b99625c..faddac4 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -459,2 +459,6 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
bool objIsNotViewport = (object != viewport());
+ bool leftButt = false;
+#ifdef DESKTOP_VERSION
+ leftButt = (me->button() == LeftButton);
+#endif
switch (me->type()) {
@@ -469,3 +473,3 @@ bool KOAgenda::eventFilter_mouse(QObject *object, QMouseEvent *me)
mPopupPos = me->globalPos();
- if ( objIsNotViewport ) {
+ if ( objIsNotViewport && !leftButt ) {
KOAgendaItem * tempItem = (KOAgendaItem *)object;