diff options
author | ConfuSomu | 2023-08-02 02:34:01 +0200 |
---|---|---|
committer | ConfuSomu | 2023-08-02 02:34:01 +0200 |
commit | 56a64ae4c5c4cf3fb567445a1bcec0f3a9db143c (patch) | |
tree | c43c1f1def305c8fcaf38cc31c118cf295650355 /src/finddialog.h | |
parent | 88e272b40dd9b0a182662ac77296dc2330b2027f (diff) | |
download | ActorViewer-56a64ae4c5c4cf3fb567445a1bcec0f3a9db143c.tar ActorViewer-56a64ae4c5c4cf3fb567445a1bcec0f3a9db143c.tar.gz ActorViewer-56a64ae4c5c4cf3fb567445a1bcec0f3a9db143c.zip |
Initialize find dialog with text from main window
Properly emit the text that was entered in the search bar before the
find dialog was opened. This makes sure that it is queried as expected
by the user.
Diffstat (limited to 'src/finddialog.h')
-rw-r--r-- | src/finddialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/finddialog.h b/src/finddialog.h index c6907f8..c26f8fd 100644 --- a/src/finddialog.h +++ b/src/finddialog.h @@ -15,7 +15,7 @@ public: ~FindDialog(); public slots: - void set_search_text(const QString &text); + void set_search_text(const QString &text, bool search_immediately = false); void set_qlist_widget(QListWidget* widget); inline void run_search(); |