From c85139009a84539e891fcdf01ee2ed35c1cdbee2 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 23 Jun 2023 20:02:25 +0000 Subject: [PATCH] qt chan details dlg: make some more labels selectable --- electrum/gui/qt/channel_details.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrum/gui/qt/channel_details.py b/electrum/gui/qt/channel_details.py index 39d3ebde4..2bcc079e1 100644 --- a/electrum/gui/qt/channel_details.py +++ b/electrum/gui/qt/channel_details.py @@ -180,11 +180,11 @@ class ChannelDetailsDialog(QtWidgets.QDialog, MessageBoxMixin, QtEventListener): form.addRow(QLabel(_('Remote Node') + ':'), remote_id_e) channel_id_e = ShowQRLineEdit(chan.channel_id.hex(), self.window.config, title=_("Channel ID")) form.addRow(QLabel(_('Channel ID') + ':'), channel_id_e) - form.addRow(QLabel(_('Short Channel ID') + ':'), QLabel(str(chan.short_channel_id))) + form.addRow(QLabel(_('Short Channel ID') + ':'), SelectableLabel(str(chan.short_channel_id))) if local_scid_alias := chan.get_local_scid_alias(): - form.addRow(QLabel('Local SCID Alias:'), QLabel(str(ShortID(local_scid_alias)))) + form.addRow(QLabel('Local SCID Alias:'), SelectableLabel(str(ShortID(local_scid_alias)))) if remote_scid_alias := chan.get_remote_scid_alias(): - form.addRow(QLabel('Remote SCID Alias:'), QLabel(str(ShortID(remote_scid_alias)))) + form.addRow(QLabel('Remote SCID Alias:'), SelectableLabel(str(ShortID(remote_scid_alias)))) form.addRow(QLabel(_('State') + ':'), SelectableLabel(chan.get_state_for_GUI())) self.capacity = self.format_sat(chan.get_capacity()) form.addRow(QLabel(_('Capacity') + ':'), SelectableLabel(self.capacity))