mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Remove print statement. Use original button order instead of the sorted order used in the layout button.
This commit is contained in:
parent
a763d7336c
commit
f8ca82dc76
@ -588,9 +588,7 @@ class LayoutMixin(object): # {{{
|
||||
''')
|
||||
self.status_bar.addPermanentWidget(button)
|
||||
if gprefs['show_layout_buttons']:
|
||||
from calibre.utils.icu import primary_sort_key
|
||||
for b in sorted(self.layout_buttons, key=lambda b: primary_sort_key(b.label)):
|
||||
print(b.label)
|
||||
for b in self.layout_buttons:
|
||||
b.setVisible(True)
|
||||
self.status_bar.addPermanentWidget(b)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user