mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-01 20:49:47 +00:00
[lua] Fix how separators are added into dialog's tabs (fix #4288)
This commit is contained in:
parent
024c266231
commit
0c7759acf1
@ -670,7 +670,7 @@ int Dialog_separator(lua_State* L)
|
||||
}
|
||||
|
||||
dlg->mainWidgets.push_back(widget);
|
||||
dlg->grid.addChildInCell(widget, 2, 1, ui::HORIZONTAL | ui::TOP);
|
||||
dlg->currentGrid->addChildInCell(widget, 2, 1, ui::HORIZONTAL | ui::TOP);
|
||||
dlg->hbox = nullptr;
|
||||
|
||||
lua_pushvalue(L, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user