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
a4c6ced6
Commit
a4c6ced6
authored
Dec 08, 2021
by
Claudio Cambra
Browse files
Added escape handling to remaining dialog windows
parent
2c968927
Pipeline
#106921
passed with stage
in 5 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contents/ui/TodoPage.qml
View file @
a4c6ced6
...
...
@@ -231,9 +231,10 @@ Kirigami.ScrollablePage {
Kalendar
.
CalendarManager
.
addIncidence
(
incidenceWrapper
);
addField
.
clear
();
}
else
{
QQC2
.
ApplicationWindow
.
window
.
pageStack
.
pushDialogLayer
(
collectionPickerSheetComponent
,
{
const
openDialogWindow
=
QQC2
.
ApplicationWindow
.
window
.
pageStack
.
pushDialogLayer
(
collectionPickerSheetComponent
,
{
incidenceWrapper
:
incidenceWrapper
});
openDialogWindow
.
Keys
.
escapePressed
.
connect
(
function
()
{
openDialogWindow
.
closeDialog
()
});
}
}
}
...
...
src/contents/ui/main.qml
View file @
a4c6ced6
...
...
@@ -307,6 +307,7 @@ Kirigami.ApplicationWindow {
width
:
Kirigami
.
Units
.
gridUnit
*
30
,
height
:
Kirigami
.
Units
.
gridUnit
*
8
});
openDialogWindow
.
Keys
.
escapePressed
.
connect
(
function
()
{
openDialogWindow
.
closeDialog
()
});
}
function
onImportIntoExistingFinished
(
success
,
total
)
{
...
...
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