mirror of
https://github.com/ankitects/anki.git
synced 2025-12-12 22:36:55 -05:00
prevent hiding of sidebar
https://forums.ankiweb.net/t/browser-format-issues/11504/10
This commit is contained in:
parent
f3b8022a4c
commit
68dddfe93b
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ class Browser(QMainWindow):
|
||||||
|
|
||||||
def setupSidebar(self) -> None:
|
def setupSidebar(self) -> None:
|
||||||
dw = self.sidebarDockWidget = QDockWidget(tr.browsing_sidebar(), self)
|
dw = self.sidebarDockWidget = QDockWidget(tr.browsing_sidebar(), self)
|
||||||
dw.setFeatures(QDockWidget.DockWidgetClosable)
|
dw.setFeatures(QDockWidget.NoDockWidgetFeatures)
|
||||||
dw.setObjectName("Sidebar")
|
dw.setObjectName("Sidebar")
|
||||||
dw.setAllowedAreas(Qt.LeftDockWidgetArea)
|
dw.setAllowedAreas(Qt.LeftDockWidgetArea)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue