Merge pull request #73836 from smix8/fix_gridmap_cell_size_changed_signal_4.x
Fix GridMap 'cell_size_changed' signal not disconnecting properly
This commit is contained in:
commit
18053a68cb
1 changed files with 1 additions and 1 deletions
|
@ -913,7 +913,7 @@ void GridMapEditor::update_palette() {
|
|||
}
|
||||
|
||||
void GridMapEditor::edit(GridMap *p_gridmap) {
|
||||
if (!p_gridmap && node) {
|
||||
if (node) {
|
||||
node->disconnect("cell_size_changed", callable_mp(this, &GridMapEditor::_draw_grids));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue