diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index be55f6f29..23be491b9 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -1178,7 +1178,7 @@ void MainTab::on_coordinates_textChanged(const QString &text) bool parsed = false; QPalette p; ui.coordinates->setPalette(p); // reset palette - gpsChanged = gpsHasChanged(&displayed_dive, current_dive, text, &parsed); + gpsChanged = gpsHasChanged(&displayed_dive, &displayed_dive, text, &parsed); if (gpsChanged) markChangedWidget(ui.coordinates); // marks things yellow if (!parsed) { |