### Godot version

4.x

### System information

Windows 10

### Issue description

The `Search Result` panel is not correctly updated when changing the theme.

https://user-images.githubusercontent.com/66004280/208964493-d0423b78-3418-44c9-95ed-822fd34c4720.mp4



### Steps to reproduce

1. Search something
2. Change the theme

### Minimal reproduction project

--
}
		if (dir->current_is_dir()) {
			out_folders.push_back(file);
		} else {
			String file_ext = file.get_extension();
			if (_extension_filter.has(file_ext)) {
				_files_to_scan.push_back(path.path_join(file));
			}
		}
	}
}
void FindInFiles::_scan_file(String fpath) {
	Ref<FileAccess> f = FileAccess::open(fpath, FileAccess::READ);
	if (f.is_null()) {
		print_verbose(String("Cannot open file ") + fpath);
		return;
	}
	int line_number = 0;
	while (!f->eof_reached()) {
		
		++line_number;
		int begin = 0;
		int end = 0;
		String line = f->get_line();
		while (find_next(line, _pattern, end, _match_case, _whole_words, begin, end)) {
			emit_signal(SNAME(SIGNAL_RESULT_FOUND), fpath, line_number, begin, end, line);
		}
	}
}
void FindInFiles::_bind_methods() {