From 4c44620d4decded041190bce1c3a1265ae9bfbee Mon Sep 17 00:00:00 2001 From: f321x Date: Mon, 15 Dec 2025 14:47:16 +0100 Subject: [PATCH] qt: ConfirmTxDialog: also show Tools text Also show the `Tools` text besides the preferences icon so it looks equal to the main window. Originally this was a followup part of #10300 which got closed due to other reasons. --- electrum/gui/qt/confirm_tx_dialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/gui/qt/confirm_tx_dialog.py b/electrum/gui/qt/confirm_tx_dialog.py index b5aeb61a6..5456fa04d 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)