Changeset 2478158 in subsurface


Ignore:
Timestamp:
Dec 30, 2017, 2:36:47 AM (3 weeks ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
1742de5
Parents:
8a9accb
git-author:
Robert C. Helling <helling@…> (12/29/17 23:33:30)
git-committer:
Jan Mulder <jlmulder@…> (12/30/17 02:36:47)
Message:

Reenable pressure interpolation in context menu

This fixes a bug reported by Willem that removing waypoints
using the right click context menu makes the cylinder
pressure lines partly disappear.

The reason was that clicking a dive handler disables the
pressure interpolation (and other things, controlled by
shouldCalculateMaxdepth). This is turned on again upon
the mouse release event. This event is not triggered when
selecting in item from the context menu (like remove
waypoint or gas selection) so we need to send it manually.

Signed-off-by: Robert C. Helling <helling@…>

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.md

    rd0dcac2 r2478158  
     1- Fix bug in cylider pressure lines
    12- Add changes after 4.7.6 above this line
  • desktop-widgets/diveplanner.cpp

    rd703ba9 r2478158  
    4545        QMenu m;
    4646        // Don't have a gas selection for the last point
     47        emit released();
    4748        QModelIndex index = plannerModel->index(parentIndex(), DivePlannerPointsModel::GAS);
    4849        if (index.sibling(index.row() + 1, index.column()).isValid()) {
Note: See TracChangeset for help on using the changeset viewer.