aboutsummaryrefslogtreecommitdiffstats
path: root/src/finddialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/finddialog.h')
-rw-r--r--src/finddialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/finddialog.h b/src/finddialog.h
index c26f8fd..38a58f2 100644
--- a/src/finddialog.h
+++ b/src/finddialog.h
@@ -13,6 +13,8 @@ class FindDialog : public QDialog {
public:
FindDialog(QWidget *parent = nullptr);
~FindDialog();
+ // Force doing again the search, useful if list_widget items have changed
+ void force_research();
public slots:
void set_search_text(const QString &text, bool search_immediately = false);
@@ -42,7 +44,7 @@ private:
// This is used with the spin box to avoid having repeated value changes due to the on_spinBox_valueChanged slot
bool value_changed_processed = false;
- void init_search();
+ void init_search(bool force = false);
void update_status();
void select_match();
bool has_search_changed();