From 0153e8fa499b7bbdd712339bfb3921ead15a37a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:23:16 +0300 Subject: Add palette inheritance to label class. --- src/gui/textdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/textdialog.cpp') diff --git a/src/gui/textdialog.cpp b/src/gui/textdialog.cpp index 88160e9aa..815ffac4c 100644 --- a/src/gui/textdialog.cpp +++ b/src/gui/textdialog.cpp @@ -47,7 +47,7 @@ TextDialog::TextDialog(const std::string &title, const std::string &msg, { keyboard.setEnabled(false); - Label *const textLabel = new Label(msg); + Label *const textLabel = new Label(this, msg); Button *const cancelButton = new Button(this, _("Cancel"), "CANCEL", this); place(0, 0, textLabel, 4); -- cgit v1.2.3-70-g09d2