From bbc671693a5ddc3a72534933db5136101c649e8d Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 16 Apr 2022 21:01:04 +0200 Subject: [PATCH] Fix adding the wrong child. --- modules/paint/paint_navbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/paint/paint_navbar.cpp b/modules/paint/paint_navbar.cpp index 2e47c99c8..d86e7cfbe 100644 --- a/modules/paint/paint_navbar.cpp +++ b/modules/paint/paint_navbar.cpp @@ -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() {