Skip to content

Commit a50c088

Browse files
committed
qt: remove colon in "Payment received" notification
if there is no amount in the payment request the notification would look weird as it would just show `Payment received:` indicating something might be missing. Now it just says `Payment received` instead.
1 parent 3f755e1 commit a50c088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

electrum/gui/qt/main_window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,10 +1357,10 @@ def on_event_request_status(self, wallet, key, status):
13571357
return
13581358
if status == PR_PAID:
13591359
# FIXME notification should only be shown if request was not PAID before
1360-
msg = _('Payment received:')
1360+
msg = _('Payment received')
13611361
amount = req.get_amount_sat()
13621362
if amount:
1363-
msg += ' ' + self.format_amount_and_units(amount)
1363+
msg += ': ' + self.format_amount_and_units(amount)
13641364
msg += '\n' + req.get_message()
13651365
self.notify(msg)
13661366
self.receive_tab.request_list.delete_item(key)

0 commit comments

Comments
 (0)