Changeset ac50560 in subsurface


Ignore:
Timestamp:
Jan 1, 2018, 1:26:13 AM (3 weeks ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
e16b58ee
Parents:
c4e1e96
git-author:
Jan Mulder <jlmulder@…> (12/31/17 23:49:40)
git-committer:
Jan Mulder <jlmulder@…> (01/01/18 01:26:13)
Message:

desktop: clear tags when hitting new logbook

A very simple commit to start 2018. When hitting new logbook from
a currently open logbook, and the current dive has tags filled in,
they stayed around in the UI. Just clear them. Further, delete
an unused variable.

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

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

    r1c1ca8c rac50560  
    586586                volume_t gases[MAX_CYLINDERS] = {};
    587587                get_gas_used(&displayed_dive, gases);
    588                 QString volumes;
    589588                int mean[MAX_CYLINDERS], duration[MAX_CYLINDERS];
    590589                per_cylinder_mean_depth(&displayed_dive, select_dc(&displayed_dive), mean, duration);
     
    630629                ui.timeEdit->setMinimumTime(QTime(0, 0, 0, 0));
    631630                ui.timeEdit->setTime(QTime(0, 0, 0, 0));
     631                ui.tagWidget->clear();
    632632        }
    633633        editMode = rememberEM;
Note: See TracChangeset for help on using the changeset viewer.