Set checked status of menu entry for dive list filter correctly

When enabling the dive list filter via the menu entry
"Log->Filter dives" and then switch off the filter via the small "close"
button of the filter:
Set the checked status of the menu entry correctly.
Also set it correctly when switching on/off via the menu entry to avoid
any situation where it is not synced.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-10-27 17:52:49 +02:00 committed by Lubomir I. Ivanov
parent 215f61175d
commit 81492b8cba
3 changed files with 13 additions and 2 deletions

View file

@ -87,6 +87,7 @@ public:
QUndoStack *undoStack;
NotificationWidget *getNotificationWidget();
void enableDisableCloudActions();
void setCheckedActionFilterTags(bool checked);
private
slots: