Skip to content

Commit 870393f

Browse files
committed
qt: move third-party tx URL setting from Display to Wallet options tab
Out of all the settings in the Display tab, the 'Third-party transaction URLs' is the odd one out. All other settings here affect the way the GUI is displayed. This action affects what context menu actions are available when wallet functionality is enabled, and we have a transaction. As such, it is a better fit for this to be in the Wallet tab.
1 parent bfb3037 commit 870393f

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

src/qt/forms/optionsdialog.ui

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,33 @@
216216
</property>
217217
</widget>
218218
</item>
219+
<item>
220+
<layout class="QHBoxLayout" name="horizontalLayout_3_Display">
221+
<item>
222+
<widget class="QLabel" name="thirdPartyTxUrlsLabel">
223+
<property name="toolTip">
224+
<string>Third-party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
225+
</property>
226+
<property name="text">
227+
<string>&amp;Third-party transaction URLs</string>
228+
</property>
229+
<property name="buddy">
230+
<cstring>thirdPartyTxUrls</cstring>
231+
</property>
232+
</widget>
233+
</item>
234+
<item>
235+
<widget class="QLineEdit" name="thirdPartyTxUrls">
236+
<property name="toolTip">
237+
<string>Third-party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
238+
</property>
239+
<property name="placeholderText">
240+
<string notr="true">https://example.com/tx/%s</string>
241+
</property>
242+
</widget>
243+
</item>
244+
</layout>
245+
</item>
219246
<item>
220247
<widget class="QGroupBox" name="groupBox">
221248
<property name="title">
@@ -724,33 +751,6 @@
724751
</item>
725752
</layout>
726753
</item>
727-
<item>
728-
<layout class="QHBoxLayout" name="horizontalLayout_3_Display">
729-
<item>
730-
<widget class="QLabel" name="thirdPartyTxUrlsLabel">
731-
<property name="toolTip">
732-
<string>Third-party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
733-
</property>
734-
<property name="text">
735-
<string>&amp;Third-party transaction URLs</string>
736-
</property>
737-
<property name="buddy">
738-
<cstring>thirdPartyTxUrls</cstring>
739-
</property>
740-
</widget>
741-
</item>
742-
<item>
743-
<widget class="QLineEdit" name="thirdPartyTxUrls">
744-
<property name="toolTip">
745-
<string>Third-party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
746-
</property>
747-
<property name="placeholderText">
748-
<string notr="true">https://example.com/tx/%s</string>
749-
</property>
750-
</widget>
751-
</item>
752-
</layout>
753-
</item>
754754
<item>
755755
<widget class="QGroupBox" name="font_groupBox">
756756
<property name="title">

0 commit comments

Comments
 (0)