Browse Source
qt ReceiveTab: ensure TabWidget has frame in more cases
patch-4
SomberNight
3 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
3 additions and
0 deletions
-
electrum/gui/qt/receive_tab.py
|
|
@ -409,6 +409,9 @@ class ReceiveTabWidget(QWidget): |
|
|
|
tooltip = _('Click to switch between text and QR code view') |
|
|
|
w.setToolTip(tooltip) |
|
|
|
textedit.setFocusPolicy(Qt.NoFocus) |
|
|
|
if isinstance(help_widget, QLabel): |
|
|
|
help_widget.setFrameStyle(QFrame.StyledPanel) |
|
|
|
help_widget.setStyleSheet("QLabel {border:1px solid gray; border-radius:2px; }") |
|
|
|
hbox = QHBoxLayout() |
|
|
|
hbox.setContentsMargins(0, 0, 0, 0) |
|
|
|
hbox.addWidget(textedit) |
|
|
|