diff options
Diffstat (limited to 'desktop/island/calendar')
| -rw-r--r-- | desktop/island/calendar/CalendarPanel.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/island/calendar/CalendarPanel.qml b/desktop/island/calendar/CalendarPanel.qml index 9515a9a..5d193eb 100644 --- a/desktop/island/calendar/CalendarPanel.qml +++ b/desktop/island/calendar/CalendarPanel.qml @@ -90,12 +90,12 @@ Item { } // Escape: the editor first, then the panel. - function escape() { + function back() { if (panel.editing) { panel.closeEditor(); return true; } return false; } - Keys.onEscapePressed: if (!panel.escape()) panel.closeRequested() + Keys.onEscapePressed: if (!panel.back()) panel.closeRequested() Component.onCompleted: panel.reset() |
