mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
2373a38005
commit
449191df19
@ -472,7 +472,8 @@ class BooksView(QTableView): # {{{
|
|||||||
view.column_header_context_menu.addAction(
|
view.column_header_context_menu.addAction(
|
||||||
_('Un-split the book list') if self.pin_view.isVisible() else _('Split the book list'),
|
_('Un-split the book list') if self.pin_view.isVisible() else _('Split the book list'),
|
||||||
partial(self.column_header_context_handler, action='split', column=col or 'title'))
|
partial(self.column_header_context_handler, action='split', column=col or 'title'))
|
||||||
view.column_header_context_menu.popup(view.column_header.mapToGlobal(pos))
|
if hasattr(view, 'column_header_context_menu'):
|
||||||
|
view.column_header_context_menu.popup(view.column_header.mapToGlobal(pos))
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Sorting {{{
|
# Sorting {{{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user