Skip to content

Commit 7886ca6

Browse files
committed
Make tab key switch focus
These fields do not expect tab characters.
1 parent 85c4ddf commit 7886ca6

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

src/gui/optionsdialog.ui

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,6 +1496,9 @@ readme.txt: filter exact file name.
14961496
?.txt: filter 'a.txt', 'b.txt' but not 'aa.txt'.
14971497
readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</string>
14981498
</property>
1499+
<property name="tabChangesFocus">
1500+
<bool>true</bool>
1501+
</property>
14991502
<property name="lineWrapMode">
15001503
<enum>QPlainTextEdit::LineWrapMode::NoWrap</enum>
15011504
</property>
@@ -3136,7 +3139,11 @@ Disable encryption: Only connect to peers without protocol encryption</string>
31363139
</property>
31373140
<layout class="QGridLayout" name="gridLayout_16">
31383141
<item row="0" column="0">
3139-
<widget class="QPlainTextEdit" name="textTrackers"/>
3142+
<widget class="QPlainTextEdit" name="textTrackers">
3143+
<property name="tabChangesFocus">
3144+
<bool>true</bool>
3145+
</property>
3146+
</widget>
31403147
</item>
31413148
</layout>
31423149
</widget>
@@ -3326,7 +3333,11 @@ Disable encryption: Only connect to peers without protocol encryption</string>
33263333
</widget>
33273334
</item>
33283335
<item>
3329-
<widget class="QPlainTextEdit" name="textSmartEpisodeFilters"/>
3336+
<widget class="QPlainTextEdit" name="textSmartEpisodeFilters">
3337+
<property name="tabChangesFocus">
3338+
<bool>true</bool>
3339+
</property>
3340+
</widget>
33303341
</item>
33313342
</layout>
33323343
</widget>
@@ -3785,6 +3796,9 @@ Use ';' to split multiple entries. Can use wildcard '*'.</string>
37853796
<layout class="QVBoxLayout" name="verticalLayout_8">
37863797
<item>
37873798
<widget class="QPlainTextEdit" name="textWebUICustomHTTPHeaders">
3799+
<property name="tabChangesFocus">
3800+
<bool>true</bool>
3801+
</property>
37883802
<property name="lineWrapMode">
37893803
<enum>QPlainTextEdit::LineWrapMode::NoWrap</enum>
37903804
</property>

src/gui/properties/peersadditiondialog.ui

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
</item>
2424
<item>
2525
<widget class="QTextEdit" name="textEditPeers">
26+
<property name="tabChangesFocus">
27+
<bool>true</bool>
28+
</property>
2629
<property name="lineWrapMode">
2730
<enum>QTextEdit::LineWrapMode::NoWrap</enum>
2831
</property>

src/gui/torrentcreatordialog.ui

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@
325325
<property name="toolTip">
326326
<string>You can separate tracker tiers / groups with an empty line.</string>
327327
</property>
328+
<property name="tabChangesFocus">
329+
<bool>true</bool>
330+
</property>
328331
<property name="acceptRichText">
329332
<bool>false</bool>
330333
</property>
@@ -339,6 +342,9 @@
339342
</item>
340343
<item row="1" column="1">
341344
<widget class="QTextEdit" name="URLSeedsList">
345+
<property name="tabChangesFocus">
346+
<bool>true</bool>
347+
</property>
342348
<property name="acceptRichText">
343349
<bool>false</bool>
344350
</property>
@@ -353,6 +359,9 @@
353359
</item>
354360
<item row="2" column="1">
355361
<widget class="QTextEdit" name="txtComment">
362+
<property name="tabChangesFocus">
363+
<bool>true</bool>
364+
</property>
356365
<property name="acceptRichText">
357366
<bool>false</bool>
358367
</property>

src/gui/trackersadditiondialog.ui

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
</item>
2424
<item>
2525
<widget class="QTextEdit" name="textEditTrackersList">
26+
<property name="tabChangesFocus">
27+
<bool>true</bool>
28+
</property>
2629
<property name="lineWrapMode">
2730
<enum>QTextEdit::LineWrapMode::NoWrap</enum>
2831
</property>

0 commit comments

Comments
 (0)