From de477900acbda3c085a6e6796d2dbd421e66bdbc Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sat, 20 Nov 2021 10:09:15 +0000 Subject: [PATCH] Bug #1951673: Clicking on field Search Mode resets previous field Moved the mode field, which as a side benefit makes it more "important". --- src/calibre/gui2/dialogs/metadata_bulk.ui | 78 ++++++++++++----------- 1 file changed, 40 insertions(+), 38 deletions(-) diff --git a/src/calibre/gui2/dialogs/metadata_bulk.ui b/src/calibre/gui2/dialogs/metadata_bulk.ui index 02ed487875..2166b751a9 100644 --- a/src/calibre/gui2/dialogs/metadata_bulk.ui +++ b/src/calibre/gui2/dialogs/metadata_bulk.ui @@ -886,38 +886,23 @@ as that of the first selected book. - + - Search &field: + Search &mode: - search_field + search_mode - - - The name of the field that you want to search - - - - - - - - Search &mode: - - - search_mode - - - - Choose whether to use basic text matching or advanced regular expression matching + <p>Choose whether to use basic text matching or advanced + regular expression matching. Changing the mode clears all the fields + in this dialog.</p> @@ -937,6 +922,23 @@ as that of the first selected book. + + + Search &field: + + + search_field + + + + + + + The name of the field that you want to search + + + + &Identifier type: @@ -946,7 +948,7 @@ as that of the first selected book. - + @@ -959,7 +961,7 @@ as that of the first selected book. - + &Template: @@ -969,7 +971,7 @@ as that of the first selected book. - + @@ -982,7 +984,7 @@ as that of the first selected book. - + &Search for: @@ -992,7 +994,7 @@ as that of the first selected book. - + @@ -1005,7 +1007,7 @@ as that of the first selected book. - + Check this box if the search string must match exactly upper and lower case. Uncheck it if case is to be ignored @@ -1018,7 +1020,7 @@ as that of the first selected book. - + &Replace with: @@ -1028,14 +1030,14 @@ as that of the first selected book. - + The replacement text. The matched search text will be replaced with this string - + @@ -1070,7 +1072,7 @@ field is processed. In regular expression mode, only the matched text is process - + &Destination field: @@ -1080,7 +1082,7 @@ field is processed. In regular expression mode, only the matched text is process - + The field that the text will be put into after all replacements. @@ -1088,7 +1090,7 @@ If blank, the source field is used if the field is modifiable - + @@ -1137,7 +1139,7 @@ not multiple and the destination field is multiple - + Identifier type: @@ -1147,7 +1149,7 @@ not multiple and the destination field is multiple - + @@ -1163,7 +1165,7 @@ not multiple and the destination field is multiple - + @@ -1249,7 +1251,7 @@ not multiple and the destination field is multiple - + QFrame::NoFrame @@ -1434,8 +1436,8 @@ is completed. This can be slow on large libraries. query_field save_button remove_button - search_field search_mode + search_field s_r_src_ident s_r_template search_for