summaryrefslogtreecommitdiff
path: root/src/gui/textdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textdialog.cpp')
-rw-r--r--src/gui/textdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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);