summaryrefslogtreecommitdiff
path: root/src/gui/confirmdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/confirmdialog.cpp')
-rw-r--r--src/gui/confirmdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/confirmdialog.cpp b/src/gui/confirmdialog.cpp
index b75a519fd..f66d44132 100644
--- a/src/gui/confirmdialog.cpp
+++ b/src/gui/confirmdialog.cpp
@@ -46,12 +46,12 @@ ConfirmDialog::ConfirmDialog(const std::string &title, const std::string &msg,
mTextBox->setOpaque(false);
mTextBox->setTextWrapped(msg, 260);
- Button *const yesButton = new Button(_("Yes"), "yes", this);
- Button *const noButton = new Button(_("No"), "no", this);
+ Button *const yesButton = new Button(this, _("Yes"), "yes", this);
+ Button *const noButton = new Button(this, _("No"), "no", this);
Button *ignoreButton = nullptr;
if (ignore)
- ignoreButton = new Button(_("Ignore"), "ignore", this);
+ ignoreButton = new Button(this, _("Ignore"), "ignore", this);
const int numRows = mTextBox->getNumberOfRows();
int inWidth = yesButton->getWidth() + noButton->getWidth() +