Changeset ad5819c in subsurface


Ignore:
Timestamp:
May 6, 2017, 12:47:04 PM (5 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
38b9185
Parents:
9e45999
git-author:
Dirk Hohndel <dirk@…> (05/06/17 12:46:58)
git-committer:
Dirk Hohndel <dirk@…> (05/06/17 12:47:04)
Message:

Save tags when manually adding dive

Tags are handled differently from other fields, we need to call
the special handling after the new dive was added and marked as
the current dive.

Fixes: #369

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • desktop-widgets/tab-widgets/maintab.cpp

    r9021a44 rad5819c  
    778778                selected_dive = get_divenr(added_dive);
    779779                amount_selected = 1;
     780                // finally, make sure we get the tags
     781                saveTags();
    780782        } else if (MainWindow::instance() && MainWindow::instance()->dive_list()->selectedTrips().count() == 1) {
    781783                /* now figure out if things have changed */
Note: See TracChangeset for help on using the changeset viewer.