mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
215f61175d
commit
81492b8cba
3 changed files with 13 additions and 2 deletions
|
@ -653,6 +653,7 @@ void MultiFilter::closeFilter()
|
|||
{
|
||||
MultiFilterSortModel::instance()->clearFilter();
|
||||
hide();
|
||||
MainWindow::instance()->setCheckedActionFilterTags(false);
|
||||
}
|
||||
|
||||
TextHyperlinkEventFilter::TextHyperlinkEventFilter(QTextEdit *txtEdit) : QObject(txtEdit),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue