mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-07 08:25:20 -05:00
draw event frame for pasted events
This commit is contained in:
@@ -1528,7 +1528,6 @@ void MainWindow::paste() {
|
||||
case 0:
|
||||
{
|
||||
// can only paste currently selected metatiles on this tab
|
||||
// can only paste events to this tab
|
||||
if (pasteObject["object"].toString() != "metatile_selection") {
|
||||
return;
|
||||
}
|
||||
@@ -1594,6 +1593,7 @@ void MainWindow::paste() {
|
||||
}
|
||||
|
||||
editor->map->editHistory.push(new EventPaste(this->editor, editor->map, newEvents));
|
||||
updateObjects();
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user