Changeset 54871deb in subsurface for qt-models


Ignore:
Timestamp:
Jul 9, 2016, 12:08:52 PM (16 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
aa1446b
Parents:
bb315179
git-author:
Rick Walsh <rickmwalsh@…> (07/06/16 05:40:38)
git-committer:
Dirk Hohndel <dirk@…> (07/09/16 12:08:52)
Message:

Planner: update maxdepth and best mixes when profile changed by mouse

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-models/diveplannermodel.cpp

    rf08b0e0 r54871deb  
    675675        divepoints[row] = newData;
    676676        std::sort(divepoints.begin(), divepoints.end(), divePointsLessThan);
     677        if (updateMaxDepth())
     678                CylindersModel::instance()->updateBestMixes();
    677679        emit dataChanged(createIndex(0, 0), createIndex(rowCount() - 1, COLUMNS - 1));
    678680}
Note: See TracChangeset for help on using the changeset viewer.