This commit is contained in:
Kovid Goyal 2024-01-09 08:58:03 +05:30
parent a1b06901fd
commit 081bceb9e4
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -496,7 +496,7 @@ class LayoutMixin: # {{{
QToolButton:checked { background: rgba(0, 0, 0, 25%); } QToolButton:checked { background: rgba(0, 0, 0, 25%); }
''') ''')
for button in reversed(self.layout_buttons): for button in reversed(self.layout_buttons):
self.status_bar.insertPermanentWidget(1, button) self.status_bar.insertPermanentWidget(2, button)
self.layout_button.setMenu(LayoutMenu(self)) self.layout_button.setMenu(LayoutMenu(self))
self.layout_button.setVisible(not gprefs['show_layout_buttons']) self.layout_button.setVisible(not gprefs['show_layout_buttons'])