mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add "Tags" column in Desktop app's dive list view
Add DiveItem::displayTags helper method to return Tags as a QString New Tags column is by default inserted before "Photos" column by default disabled Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
This commit is contained in:
parent
78986589f0
commit
12dc1889c7
4 changed files with 33 additions and 1 deletions
|
|
@ -480,7 +480,8 @@ void DiveListView::reloadHeaderActions()
|
|||
i == DiveTripModel::TOTALWEIGHT ||
|
||||
i == DiveTripModel::SUIT ||
|
||||
i == DiveTripModel::CYLINDER ||
|
||||
i == DiveTripModel::SAC);
|
||||
i == DiveTripModel::SAC ||
|
||||
i == DiveTripModel::TAGS);
|
||||
bool shown = s.value(settingName, showHeaderFirstRun).toBool();
|
||||
a->setCheckable(true);
|
||||
a->setChecked(shown);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue