fix bug disabling map edits after tab switches

This commit is contained in:
garak 2024-02-04 12:58:41 -05:00
parent 858c807856
commit 23b55a1074

View file

@ -129,6 +129,7 @@ void Editor::setEditorView() {
switch (this->editMode) {
case EditMode::Metatiles:
case EditMode::Collision:
map_item->setEditsEnabled(true);
this->editGroup.setActiveStack(&this->layout->editHistory);
break;
case EditMode::Events: