Changeset 1b3c7763 in subsurface


Ignore:
Timestamp:
Jan 19, 2015, 1:03:42 AM (3 years ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
Mtest, android_test, dcDownload, foratdotde, gitMerge, gitdebug, gitpictures, ios, master, mergeKirigamiPort, pictimeshift, resolutionIndependence, spinner, testTomaz, testing, v4.4-branch, v4.5-branch
Children:
d6499cc
Parents:
de9acbd
Message:

While editing the coordinates we need to compare to the displayed_dive

Comparing to the master dive only made sense when we immediately modified
a dive.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-ui/maintab.cpp

    rdf46b85e r1b3c7763  
    11791179        QPalette p;
    11801180        ui.coordinates->setPalette(p); // reset palette
    1181         gpsChanged = gpsHasChanged(&displayed_dive, current_dive, text, &parsed);
     1181        gpsChanged = gpsHasChanged(&displayed_dive, &displayed_dive, text, &parsed);
    11821182        if (gpsChanged)
    11831183                markChangedWidget(ui.coordinates); // marks things yellow
Note: See TracChangeset for help on using the changeset viewer.