diff options
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index fe88b084..065faecb 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | import QtQuick 2.9 | 19 | import QtQuick 2.9 |
20 | import QtQuick.Controls 2.1 | 20 | import QtQuick.Controls 2 |
21 | import QtQuick.Layouts 1.2 | 21 | import QtQuick.Layouts 1.2 |
22 | 22 | ||
23 | import org.kube.framework 1.0 as Kube | 23 | import org.kube.framework 1.0 as Kube |
@@ -156,7 +156,9 @@ RowLayout { | |||
156 | id: checkBox | 156 | id: checkBox |
157 | opacity: 0.9 | 157 | opacity: 0.9 |
158 | checked: !model.checked | 158 | checked: !model.checked |
159 | onToggled: model.checked = !checked | 159 | onCheckedChanged: { |
160 | model.checked = !checked | ||
161 | } | ||
160 | 162 | ||
161 | indicator: Rectangle { | 163 | indicator: Rectangle { |
162 | width: Kube.Units.gridUnit | 164 | width: Kube.Units.gridUnit |