### Godot version

v4.0.beta10.official [d0398f62f]

### System information

Windows 10, Vulkan

### Issue description

```
ERROR: Error calling from signal 'item_activated' to callable: 'TileMapEditorTilesPlugin::TileMapEditorTilesPlugin::_update_selection_pattern_from_tileset_pattern_selection': Method expected 0 arguments, but called with 1.
   at: emit_signalp (core/object/object.cpp:1058)
```

### Steps to reproduce

* Open MRP
* Open the scene and select `TileMap` node
* In the `Patterns` tab, double-click on the pattern

### Minimal reproduction project

[TileMap double click.zip](https://github.com/godotengine/godot/files/10339282/TileMap.double.click.zip)

TileMap *tile_map = Object::cast_to<TileMap>(ObjectDB::get_instance(tile_map_id));
	if (!tile_map) {
		return HashMap<Vector2i, TileMapCell>();
	}
	Ref<TileSet> tile_set = tile_map->get_tileset();
	if (!tile_set.is_valid()) {
		return HashMap<Vector2i, TileMapCell>();
	}
	HashMap<Vector2i, TileSet::TerrainsPattern> terrain_fill_output;
	if (p_connect) {
		terrain_fill_output = tile_map->terrain_fill_connect(tile_map_layer, p_to_paint, p_terrain_set, p_terrain, false);
	} else {
		terrain_fill_output = tile_map->terrain_fill_path(tile_map_layer, p_to_paint, p_terrain_set, p_terrain, false);
	}
	
	HashSet<Vector2i> painted_set;
	for (Vector2i coords : p_to_paint) {
		painted_set.insert(coords);
	}
	HashMap<Vector2i, TileMapCell> output;
	for (const KeyValue<Vector2i, TileSet::TerrainsPattern> &kv : terrain_fill_output) {
		if (painted_set.has(kv.key)) {
			
			output[kv.key] = tile_set->get_random_tile_from_terrains_pattern(p_terrain_set, kv.value);
		} else {
			
			TileSet::TerrainsPattern in_map_terrain_pattern = TileSet::TerrainsPattern(*tile_set, p_terrain_set);
			TileMapCell cell = tile_map->get_cell(tile_map_layer, kv.key);
			if (cell.source_id != TileSet::INVALID_SOURCE) {