What changed, and why it matters
This commit is a purely cosmetic user-interface change. It adds the word 'Tools' next to the preferences icon in a transaction confirmation dialog so the button matches the main window's appearance. There is no security relevance.
No security action needed; treat as a normal UI polish change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch adds two lines to electrum/gui/qt/confirm_tx_dialog.py: setting the QToolButton text to ‘Tools’ and setting the tool-button style to display text beside the icon. No logic, permissions, cryptography, network, or input-handling code is modified.
Changed components
electrum/gui/qt/confirm_tx_dialog.pyInspect captured patch +2 / −0
diff --git a/electrum/gui/qt/confirm_tx_dialog.py b/electrum/gui/qt/confirm_tx_dialog.py
index b5aeb61..5456fa0 100644
--- a/electrum/gui/qt/confirm_tx_dialog.py
+++ b/electrum/gui/qt/confirm_tx_dialog.py
@@ -539,6 +539,8 @@ class TxEditor(WindowModalDialog, QtEventListener, Logger):
self.pref_menu.addConfig(self.config.cv.WALLET_COIN_CHOOSER_OUTPUT_ROUNDING, callback=self.trigger_update)
self.pref_button = QToolButton()
self.pref_button.setIcon(read_QIcon("preferences.png"))
+ self.pref_button.setText(_('Tools'))
+ self.pref_button.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextBesideIcon)
self.pref_button.setMenu(self.pref_menu)
self.pref_button.setPopupMode(QToolButton.ToolButtonPopupMode.InstantPopup)
self.pref_button.setFocusPolicy(Qt.FocusPolicy.NoFocus)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.