mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 10:35:20 -04:00
Remove print statement. Use original button order instead of the sorted order used in the layout button.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user