summaryrefslogtreecommitdiffstats
path: root/editor/find_in_files.h
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2020-02-10 16:04:15 +0300
committerYuri Sizov <yuris@humnom.net>2020-02-10 18:41:23 +0300
commit8c80b602ac51c5bceec4f767692e694d9ce73450 (patch)
treebe0dbc6b915a9b0e1b704cf054adafc23facf4e9 /editor/find_in_files.h
parent2dd73b1ffad10824a9f66e3ac04f4e2a7d51a85e (diff)
downloadredot-engine-8c80b602ac51c5bceec4f767692e694d9ce73450.tar.gz
Add a button to quickly repeat last search in files
Diffstat (limited to 'editor/find_in_files.h')
-rw-r--r--editor/find_in_files.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/find_in_files.h b/editor/find_in_files.h
index 327c3f1b5a..e8a524aaf4 100644
--- a/editor/find_in_files.h
+++ b/editor/find_in_files.h
@@ -163,6 +163,7 @@ protected:
private:
void _on_result_found(String fpath, int line_number, int begin, int end, String text);
void _on_finished();
+ void _on_refresh_button_clicked();
void _on_cancel_button_clicked();
void _on_result_selected();
void _on_item_edited();
@@ -190,6 +191,7 @@ private:
Label *_search_text_label;
Tree *_results_display;
Label *_status_label;
+ Button *_refresh_button;
Button *_cancel_button;
ProgressBar *_progress_bar;
Map<String, TreeItem *> _file_items;