From 7886ca65f9e455ad07e0ba66c2a8e4df52766623 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 15 Dec 2024 00:33:27 +0800 Subject: [PATCH] Make tab key switch focus These fields do not expect tab characters. --- src/gui/optionsdialog.ui | 18 ++++++++++++++++-- src/gui/properties/peersadditiondialog.ui | 3 +++ src/gui/torrentcreatordialog.ui | 9 +++++++++ src/gui/trackersadditiondialog.ui | 3 +++ 4 files changed, 31 insertions(+), 2 deletions(-) diff --git a/src/gui/optionsdialog.ui b/src/gui/optionsdialog.ui index eb2e6181182..80b5eff8c68 100644 --- a/src/gui/optionsdialog.ui +++ b/src/gui/optionsdialog.ui @@ -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'. + + true + QPlainTextEdit::LineWrapMode::NoWrap @@ -3136,7 +3139,11 @@ Disable encryption: Only connect to peers without protocol encryption - + + + true + + @@ -3326,7 +3333,11 @@ Disable encryption: Only connect to peers without protocol encryption - + + + true + + @@ -3785,6 +3796,9 @@ Use ';' to split multiple entries. Can use wildcard '*'. + + true + QPlainTextEdit::LineWrapMode::NoWrap diff --git a/src/gui/properties/peersadditiondialog.ui b/src/gui/properties/peersadditiondialog.ui index ed9641be650..fcc39159af6 100644 --- a/src/gui/properties/peersadditiondialog.ui +++ b/src/gui/properties/peersadditiondialog.ui @@ -23,6 +23,9 @@ + + true + QTextEdit::LineWrapMode::NoWrap diff --git a/src/gui/torrentcreatordialog.ui b/src/gui/torrentcreatordialog.ui index f4a5bf65e29..6a3eb33be6e 100644 --- a/src/gui/torrentcreatordialog.ui +++ b/src/gui/torrentcreatordialog.ui @@ -325,6 +325,9 @@ You can separate tracker tiers / groups with an empty line. + + true + false @@ -339,6 +342,9 @@ + + true + false @@ -353,6 +359,9 @@ + + true + false diff --git a/src/gui/trackersadditiondialog.ui b/src/gui/trackersadditiondialog.ui index 7776016e635..75c57445904 100644 --- a/src/gui/trackersadditiondialog.ui +++ b/src/gui/trackersadditiondialog.ui @@ -23,6 +23,9 @@ + + true + QTextEdit::LineWrapMode::NoWrap