This commit is contained in:
Kovid Goyal 2024-01-06 09:49:16 +05:30
parent 3de1500627
commit 21e4565b99
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1142,7 +1142,6 @@ class DetailsLayout(QSplitter): # {{{
def change_layout(self, vertical): def change_layout(self, vertical):
self.vertical = vertical self.vertical = vertical
self.setOrientation(Qt.Orientation.Vertical if self.vertical else Qt.Orientation.Horizontal)
self.restore_splitter_state() self.restore_splitter_state()
def do_resize(self, *args): def do_resize(self, *args):