aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/globe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 8848ca306..42e97c898 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -78,7 +78,7 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0)
bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev)
{
// This disables Zooming when a double click occours on the scene.
- if (ev->type() == QEvent::MouseButtonDblClick)
+ if (ev->type() == QEvent::MouseButtonDblClick && !editingDiveCoords)
return true;
// This disables the Marble's Context Menu
// we need to move this to our 'contextMenuEvent'