From 64966c6a99fc6090fc821c3983a7521fe9056ffb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 15 Nov 2011 23:25:00 +0530 Subject: [PATCH] Fix #890677 ([UI] No focus when editing multiple titles) --- src/calibre/gui2/dialogs/metadata_bulk.py | 1 + src/calibre/gui2/dialogs/metadata_bulk.ui | 71 ++++++++++++----------- 2 files changed, 38 insertions(+), 34 deletions(-) diff --git a/src/calibre/gui2/dialogs/metadata_bulk.py b/src/calibre/gui2/dialogs/metadata_bulk.py index 60ea1b62e9..ab284b3c58 100644 --- a/src/calibre/gui2/dialogs/metadata_bulk.py +++ b/src/calibre/gui2/dialogs/metadata_bulk.py @@ -340,6 +340,7 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog): self.restoreGeometry(bytes(geom)) self.languages.init_langs(self.db) self.languages.setEditText('') + self.authors.setFocus(Qt.OtherFocusReason) self.exec_() def save_state(self, *args): diff --git a/src/calibre/gui2/dialogs/metadata_bulk.ui b/src/calibre/gui2/dialogs/metadata_bulk.ui index 525c27e6ed..716e010814 100644 --- a/src/calibre/gui2/dialogs/metadata_bulk.ui +++ b/src/calibre/gui2/dialogs/metadata_bulk.ui @@ -14,7 +14,7 @@ Edit Meta information - + :/images/edit_input.png:/images/edit_input.png @@ -44,8 +44,8 @@ 0 0 - 954 - 584 + 950 + 576 @@ -210,7 +210,7 @@ Open Tag Editor - + :/images/chapters.png:/images/chapters.png @@ -381,7 +381,7 @@ from the value in the box ... - + :/images/trash.png:/images/trash.png @@ -429,7 +429,7 @@ from the value in the box ... - + :/images/trash.png:/images/trash.png @@ -1078,8 +1078,8 @@ not multiple and the destination field is multiple 0 0 - 197 - 60 + 205 + 66 @@ -1177,6 +1177,7 @@ not multiple and the destination field is multiple authors auto_author_sort + swap_title_and_author author_sort rating publisher @@ -1185,50 +1186,52 @@ not multiple and the destination field is multiple remove_tags remove_all_tags series + clear_series autonumber_series series_numbering_restarts series_start_number - button_box - query_field - save_button - remove_button - search_field - search_mode - s_r_src_ident - s_r_template - search_for - case_sensitive - replace_with - replace_func - destination_field - replace_mode - comma_separated - s_r_dst_ident - results_count - starting_from - multiple_separator - test_text - test_result - scrollArea - central_widget - swap_title_and_author - clear_series adddate clear_adddate_button apply_adddate pubdate clear_pubdate_button apply_pubdate + languages + clear_languages remove_format change_title_to_title_case + update_title_sort remove_conversion_settings cover_generate cover_remove cover_from_fmt + starting_from + multiple_separator + test_text + test_result + scrollArea + central_widget + query_field + button_box + save_button + remove_button + search_field + search_mode + s_r_src_ident + s_r_template + replace_with + replace_func + replace_mode + comma_separated + s_r_dst_ident + results_count scrollArea11 + destination_field + search_for + case_sensitive - +