Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
aa151437
Commit
aa151437
authored
Sep 07, 2022
by
Claudio Cambra
Browse files
Use the traditional incidence info drawer in the tasks view
Signed-off-by:
Claudio Cambra
<
claudio.cambra@gmail.com
>
parent
19c59c5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/contents/ui/KalendarUtils/KalendarUiUtils.qml
View file @
aa151437
...
...
@@ -112,7 +112,9 @@ QtObject {
function
setUpView
(
modelData
,
incidenceItem
=
null
)
{
// Choose between opening the incidence information in the drawer or the popup
const
usingDrawer
=
Kirigami
.
Settings
.
isMobile
||
!
incidenceItem
;
const
usingDrawer
=
Kirigami
.
Settings
.
isMobile
||
!
incidenceItem
||
appMain
.
pageStack
.
currentItem
.
objectName
===
"
todoView
"
;
appMain
.
incidenceInfoDrawerEnabled
=
usingDrawer
;
appMain
.
incidenceInfoPopupEnabled
=
!
usingDrawer
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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