### 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

--
update_replace_buttons();
}
void FindInFilesPanel::_on_replace_all_clicked() {
	String replace_text = get_replace_text();
	PackedStringArray modified_files;
	for (KeyValue<String, TreeItem *> &E : _file_items) {
		TreeItem *file_item = E.value;
		String fpath = file_item->get_metadata(0);
		Vector<Result> locations;
		for (TreeItem *item = file_item->get_first_child(); item; item = item->get_next()) {
			if (!item->is_checked(0)) {
				continue;
			}
			HashMap<TreeItem *, Result>::Iterator F = _result_items.find(item);
			ERR_FAIL_COND(!F);
			locations.push_back(F->value);
		}
		if (locations.size() != 0) {
			
			apply_replaces_in_file(fpath, locations, replace_text);
			modified_files.push_back(fpath);
		}
	}
	
	_replace_container->hide();
	emit_signal(SNAME(SIGNAL_FILES_MODIFIED), modified_files);
}
class ConservativeGetLine {