Skip to content

Commit

Permalink
Make all docks close and float
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jul 20, 2018
1 parent 366dd48 commit bff70a1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions labelme/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,6 @@ def __init__(self, config=None, filename=None, output=None):
self.addDockWidget(Qt.RightDockWidgetArea, self.labelsdock)
self.addDockWidget(Qt.RightDockWidgetArea, self.dock)
self.addDockWidget(Qt.RightDockWidgetArea, self.filedock)
self.filedock.setFeatures(QtWidgets.QDockWidget.DockWidgetFloatable)

self.dockFeatures = (QtWidgets.QDockWidget.DockWidgetClosable |
QtWidgets.QDockWidget.DockWidgetFloatable)
self.dock.setFeatures(self.dock.features() ^ self.dockFeatures)

# Actions
action = functools.partial(newAction, self)
Expand Down

0 comments on commit bff70a1

Please sign in to comment.