qt chan details dlg: make some more labels selectable
This commit is contained in:
@@ -180,11 +180,11 @@ class ChannelDetailsDialog(QtWidgets.QDialog, MessageBoxMixin, QtEventListener):
|
|||||||
form.addRow(QLabel(_('Remote Node') + ':'), remote_id_e)
|
form.addRow(QLabel(_('Remote Node') + ':'), remote_id_e)
|
||||||
channel_id_e = ShowQRLineEdit(chan.channel_id.hex(), self.window.config, title=_("Channel ID"))
|
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(_('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():
|
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():
|
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()))
|
form.addRow(QLabel(_('State') + ':'), SelectableLabel(chan.get_state_for_GUI()))
|
||||||
self.capacity = self.format_sat(chan.get_capacity())
|
self.capacity = self.format_sat(chan.get_capacity())
|
||||||
form.addRow(QLabel(_('Capacity') + ':'), SelectableLabel(self.capacity))
|
form.addRow(QLabel(_('Capacity') + ':'), SelectableLabel(self.capacity))
|
||||||
|
|||||||
Reference in New Issue
Block a user