diff --git a/electrum_dash/gui/qt/privatesend_dialog.py b/electrum_dash/gui/qt/privatesend_dialog.py index 086248cc4..2d80a9eeb 100644 --- a/electrum_dash/gui/qt/privatesend_dialog.py +++ b/electrum_dash/gui/qt/privatesend_dialog.py @@ -401,7 +401,7 @@ def on_show_warn_electrumx_changed(x): self.keep_amount_sb = DashSpinBox() self.keep_amount_sb.setMinimum(psman.min_keep_amount) self.keep_amount_sb.setMaximum(psman.max_keep_amount) - self.keep_amount_sb.setValue(psman.keep_amount) + self.keep_amount_sb.setValue(int(psman.keep_amount)) self.keep_amount_lb = QLineEdit() self.keep_amount_lb.setAlignment(Qt.AlignRight) self.keep_amount_lb.setEnabled(False) @@ -695,7 +695,7 @@ def on_method_changed(x): self.keep_amount_sb2 = DashSpinBox() self.keep_amount_sb2.setMinimum(psman.min_keep_amount) self.keep_amount_sb2.setMaximum(psman.max_keep_amount) - self.keep_amount_sb2.setValue(psman.keep_amount) + self.keep_amount_sb2.setValue(int(psman.keep_amount)) self.keep_amount_lb2 = QLineEdit() self.keep_amount_lb2.setAlignment(Qt.AlignRight) self.keep_amount_lb2.setEnabled(False)