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

int terrain_set = tile_data->get_terrain_set();
					if (terrain_set >= 0) {
						ERR_FAIL_INDEX(terrain_set, (int)per_terrain_terrains_patterns.size());
						TileMapCell cell;
						cell.source_id = source_id;
						cell.set_atlas_coords(tile_id);
						cell.alternative_tile = alternative_id;
						TileSet::TerrainsPattern terrains_pattern = tile_data->get_terrains_pattern();
						
						int terrain = terrains_pattern.get_terrain();
						if (terrain >= 0 && terrain < (int)per_terrain_terrains_patterns[terrain_set].size()) {
							per_terrain_terrains_patterns[terrain_set][terrain].insert(terrains_pattern);
						}
						
						for (int i = 0; i < TileSet::CELL_NEIGHBOR_MAX; i++) {
							TileSet::CellNeighbor bit = TileSet::CellNeighbor(i);
							if (tile_set->is_valid_terrain_peering_bit(terrain_set, bit)) {
								terrain = terrains_pattern.get_terrain_peering_bit(bit);
								if (terrain >= 0 && terrain < (int)per_terrain_terrains_patterns[terrain_set].size()) {
									per_terrain_terrains_patterns[terrain_set][terrain].insert(terrains_pattern);
								}
							}
						}
					}
				}
			}
		}
	}
}
void TileMapEditorTerrainsPlugin::_update_terrains_tree() {