From 0d596fcfd6efb72fdd65bd200bd0f147746bbac0 Mon Sep 17 00:00:00 2001 From: Jared Bruni Date: Fri, 10 Jan 2020 20:48:16 -0800 Subject: [PATCH] now has next/prev with keystroke --- src/main_window.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main_window.cpp b/src/main_window.cpp index f1b9f44..d3d1201 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -1725,5 +1725,9 @@ void AC_MainWindow::next_filter() { } void AC_MainWindow::prev_filter() { - + int index = filters->currentIndex(); + if(index > 0) { + --index; + filters->setCurrentIndex(index); + } }