Skip to content

Commit

Permalink
Fix issue 'Crash on start after setting custom mixing settings #19'
Browse files Browse the repository at this point in the history
  • Loading branch information
LexxXell committed Jun 20, 2024
1 parent 43985ee commit f4f0918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions electrum_dash/gui/qt/privatesend_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f4f0918

Please sign in to comment.