Fix adding the wrong child.

This commit is contained in:
Relintai 2022-04-16 21:01:04 +02:00
parent 0d917718dd
commit bbc671693a

View File

@ -233,7 +233,7 @@ PaintNavbar::PaintNavbar() {
urlabel->set_text("Undo (Z) Redo (Y)");
urlabel->set_align(Label::ALIGN_CENTER);
urlabel->set_valign(Label::VALIGN_CENTER);
add_child(spacer);
add_child(urlabel);
}
PaintNavbar::~PaintNavbar() {