Skip to content

Commit

Permalink
Make tab key switch focus
Browse files Browse the repository at this point in the history
These fields do not expect tab characters.
  • Loading branch information
Chocobo1 committed Dec 15, 2024
1 parent 27b5908 commit a2113f0
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/gui/optionsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,9 @@ readme.txt: filter exact file name.
?.txt: filter 'a.txt', 'b.txt' but not 'aa.txt'.
readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</string>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::LineWrapMode::NoWrap</enum>
</property>
Expand Down Expand Up @@ -3136,7 +3139,11 @@ Disable encryption: Only connect to peers without protocol encryption</string>
</property>
<layout class="QGridLayout" name="gridLayout_16">
<item row="0" column="0">
<widget class="QPlainTextEdit" name="textTrackers"/>
<widget class="QPlainTextEdit" name="textTrackers">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
Expand Down Expand Up @@ -3326,7 +3333,11 @@ Disable encryption: Only connect to peers without protocol encryption</string>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="textSmartEpisodeFilters"/>
<widget class="QPlainTextEdit" name="textSmartEpisodeFilters">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
Expand Down Expand Up @@ -3785,6 +3796,9 @@ Use ';' to split multiple entries. Can use wildcard '*'.</string>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QPlainTextEdit" name="textWebUICustomHTTPHeaders">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="lineWrapMode">
<enum>QPlainTextEdit::LineWrapMode::NoWrap</enum>
</property>
Expand Down
3 changes: 3 additions & 0 deletions src/gui/properties/peersadditiondialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
</item>
<item>
<widget class="QTextEdit" name="textEditPeers">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::LineWrapMode::NoWrap</enum>
</property>
Expand Down
9 changes: 9 additions & 0 deletions src/gui/torrentcreatordialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@
<property name="toolTip">
<string>You can separate tracker tiers / groups with an empty line.</string>
</property>
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
Expand All @@ -339,6 +342,9 @@
</item>
<item row="1" column="1">
<widget class="QTextEdit" name="URLSeedsList">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
Expand All @@ -353,6 +359,9 @@
</item>
<item row="2" column="1">
<widget class="QTextEdit" name="txtComment">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
Expand Down
3 changes: 3 additions & 0 deletions src/gui/trackersadditiondialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
</item>
<item>
<widget class="QTextEdit" name="textEditTrackersList">
<property name="tabChangesFocus">
<bool>true</bool>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::LineWrapMode::NoWrap</enum>
</property>
Expand Down

0 comments on commit a2113f0

Please sign in to comment.