mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix add columns screen going back to main prefs when launched from column header context menu. Fixes #1910929 [Enhancement Request: Preferences: Inconsistent behaviour of Discard button](https://bugs.launchpad.net/calibre/+bug/1910929)
This commit is contained in:
parent
c86bcede66
commit
58b4fd3fe3
@ -48,7 +48,7 @@ class LibraryViewMixin(object): # {{{
|
|||||||
self.library_view.files_dropped.connect(self.iactions['Add Books'].files_dropped, type=Qt.ConnectionType.QueuedConnection)
|
self.library_view.files_dropped.connect(self.iactions['Add Books'].files_dropped, type=Qt.ConnectionType.QueuedConnection)
|
||||||
self.library_view.books_dropped.connect(self.iactions['Edit Metadata'].books_dropped, type=Qt.ConnectionType.QueuedConnection)
|
self.library_view.books_dropped.connect(self.iactions['Edit Metadata'].books_dropped, type=Qt.ConnectionType.QueuedConnection)
|
||||||
self.library_view.add_column_signal.connect(partial(self.iactions['Preferences'].do_config,
|
self.library_view.add_column_signal.connect(partial(self.iactions['Preferences'].do_config,
|
||||||
initial_plugin=('Interface', 'Custom Columns')),
|
initial_plugin=('Interface', 'Custom Columns'), close_after_initial=True),
|
||||||
type=Qt.ConnectionType.QueuedConnection)
|
type=Qt.ConnectionType.QueuedConnection)
|
||||||
for func, args in [
|
for func, args in [
|
||||||
('connect_to_search_box', (self.search,
|
('connect_to_search_box', (self.search,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user