Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KAlgebra
Commits
cb42b3fd
Commit
cb42b3fd
authored
Dec 14, 2020
by
Carl Schwan
🚴
Browse files
fix empty drawer appearing in some pages
parent
5ca2402a
Changes
1
Show whitespace changes
Inline
Side-by-side
mobile/content/ui/main.qml
View file @
cb42b3fd
...
...
@@ -118,9 +118,9 @@ Kirigami.ApplicationWindow
onModalChanged
:
drawerOpen
=
!
modal
drawerOpen
:
true
onContentItemChanged
:
if
(
contentItem
)
{
contentItem
.
visible
=
true
;
contentItem
.
visible
=
(
mainPagePool
.
lastLoadedItem
.
drawerContent
!==
undefined
)
;
}
width
:
contentItem
?
columnWidth
:
0
width
:
mainPagePool
.
lastLoadedItem
.
drawerContent
?
columnWidth
:
0
contentItem
:
mainPagePool
.
lastLoadedItem
.
drawerContent
??
null
handleVisible
:
mainPagePool
.
lastLoadedItem
.
drawerContent
!==
undefined
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment