aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 26df799..0437826 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -131,9 +131,10 @@ void MainWindow::relist_statuses() {
}
}
+// Function used to reset filters when we have detected that the "All toots" toggle has been toggled on or shouldn't be toggled anymore
void MainWindow::reset_view_filters() {
if (ui->actionAll_toots->isChecked())
- view_filters = {true, true, true, true, true, view_filters.onlyWithAttachment};
+ view_filters = {true, true, true, true, view_filters.includeReblogs, view_filters.onlyWithAttachment};
else
view_filters = {false, false, false, false, view_filters.includeReblogs, view_filters.onlyWithAttachment};
}