Changeset 25bfcf5 in subsurface


Ignore:
Timestamp:
Dec 3, 2013, 3:17:38 PM (4 years ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
Mtest, android_test, dcDownload, foratdotde, gitMerge, gitdebug, gitpictures, ios, master, mergeKirigamiPort, pictimeshift, resolutionIndependence, spinner, testTomaz, testing, v4.0-branch, v4.0.3-branch, v4.2-branch, v4.4-branch, v4.5-branch
Children:
04bbfe2
Parents:
7c8e95e
Message:

Don't call fixup_dive when editing a trip

When editing a trip the key for the notesBackup is NULL. Don't call
fixup_dive() on that...

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-ui/maintab.cpp

    rb1febf1 r25bfcf5  
    615615        // so re-populate the temperatures - easiest way to do this is by calling fixup_dive
    616616        Q_FOREACH(dive *d, notesBackup.keys()) {
    617                 fixup_dive(d);
     617                if (d)
     618                        fixup_dive(d);
    618619        }
    619620
Note: See TracChangeset for help on using the changeset viewer.