From e74876028e09cb08d5359ed6de9237027d351a79 Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Tue, 18 Sep 2018 21:10:36 +0700 Subject: Fix find-in-files and go-to-line dialog (partially) --- editor/find_in_files.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'editor/find_in_files.h') diff --git a/editor/find_in_files.h b/editor/find_in_files.h index 75ea1c3161..7f37123430 100644 --- a/editor/find_in_files.h +++ b/editor/find_in_files.h @@ -91,8 +91,8 @@ class CheckBox; class FileDialog; // Prompts search parameters -class FindInFilesDialog : public WindowDialog { - GDCLASS(FindInFilesDialog, WindowDialog) +class FindInFilesDialog : public AcceptDialog { + GDCLASS(FindInFilesDialog, AcceptDialog) public: static const char *SIGNAL_FIND_REQUESTED; static const char *SIGNAL_REPLACE_REQUESTED; @@ -111,11 +111,10 @@ protected: static void _bind_methods(); void _notification(int p_what); + void custom_action(const String &p_action); private: void _on_folder_button_pressed(); - void _on_find_button_pressed(); - void _on_replace_button_pressed(); void _on_folder_selected(String path); void _on_search_text_modified(String text); void _on_search_text_entered(String text); -- cgit v1.2.3