Commit aa151437 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Use the traditional incidence info drawer in the tasks view



Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent 19c59c5a
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment