406 return False |
406 return False |
407 |
407 |
408 if not stateDict: |
408 if not stateDict: |
409 return False |
409 return False |
410 |
410 |
411 if self.__orientation in (EricSideBarSide.NORTH, EricSideBarSide.SOUTH): |
411 minSize = ( |
412 minSize = self.layout.minimumSize().height() |
412 self.layout.minimumSize().height() |
413 else: |
413 if self.__orientation in (EricSideBarSide.NORTH, EricSideBarSide.SOUTH) |
414 minSize = self.layout.minimumSize().width() |
414 else self.layout.minimumSize().width() |
|
415 ) |
415 |
416 |
416 if stateDict["version"] in (2, 3, 4): |
417 if stateDict["version"] in (2, 3, 4): |
417 if stateDict["minimized"] and not self.__minimized: |
418 if stateDict["minimized"] and not self.__minimized: |
418 self.__shrinkIt() |
419 self.__shrinkIt() |
419 |
420 |