diff options
Diffstat (limited to 'src/gui/widgets/selldialog.cpp')
-rw-r--r-- | src/gui/widgets/selldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/selldialog.cpp b/src/gui/widgets/selldialog.cpp index 76cea21f2..956cacb2f 100644 --- a/src/gui/widgets/selldialog.cpp +++ b/src/gui/widgets/selldialog.cpp @@ -47,7 +47,7 @@ SellDialog::DialogList SellDialog::instances; -SellDialog::SellDialog(const bool isSell, +SellDialog::SellDialog(const IsSell isSell, const bool advanced) : // TRANSLATORS: sell dialog name Window(_("Sell"), Modal_false, nullptr, "sell.xml"), @@ -122,7 +122,7 @@ void SellDialog::postInit() ContainerPlacer placer; placer = getPlacer(0, 0); - if (mIsSell) + if (mIsSell == IsSell_true) { // TRANSLATORS: sell dialog button mIncreaseButton = new Button(this, _("+"), "inc", this); |