Small fixes

This commit is contained in:
BasioMeusPuga
2018-03-30 11:06:48 +05:30
parent 0d015ad72e
commit 2f4adfc183
3 changed files with 6 additions and 3 deletions

View File

@@ -1038,9 +1038,11 @@ class PliantDockWidget(QtWidgets.QDockWidget):
self.setGeometry(dock_x, dock_y, dock_width, dock_height)
self.main_window.bookToolBar.bookmarkButton.setChecked(True)
self.main_window.active_bookmark_docks.append(self)
def hideEvent(self, event):
self.main_window.bookToolBar.bookmarkButton.setChecked(False)
self.main_window.active_bookmark_docks.remove(self)
class PliantQGraphicsScene(QtWidgets.QGraphicsScene):