mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 04:16:50 +01:00
Fix expand in GenericTilePolygonEditor.
This commit is contained in:
parent
d630dec41a
commit
5359053613
@ -820,7 +820,7 @@ void LayeredTileSetEditor::remove_expanded_editor() {
|
|||||||
if (original_parent) {
|
if (original_parent) {
|
||||||
expanded_editor->remove_meta("reparented");
|
expanded_editor->remove_meta("reparented");
|
||||||
expanded_editor->get_parent()->remove_child(expanded_editor);
|
expanded_editor->get_parent()->remove_child(expanded_editor);
|
||||||
expanded_area->add_child(original_parent);
|
original_parent->add_child(expanded_editor);
|
||||||
} else {
|
} else {
|
||||||
expanded_editor->queue_delete();
|
expanded_editor->queue_delete();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user