回答編集履歴
2
コードの修正
test
CHANGED
@@ -76,15 +76,11 @@
|
|
76
76
|
|
77
77
|
def delete(self):
|
78
78
|
|
79
|
-
print('DELETE')
|
79
|
+
# print('DELETE')
|
80
|
-
|
80
|
+
|
81
|
-
self.rv.data =
|
81
|
+
self.rv.data = list(filter(
|
82
|
-
|
83
|
-
|
82
|
+
|
84
|
-
|
85
|
-
|
83
|
+
lambda item: not item['is_checked'], self.rv.data))
|
86
|
-
|
87
|
-
self.rv.data)]
|
88
84
|
|
89
85
|
|
90
86
|
|
1
コードの修正
test
CHANGED
@@ -106,9 +106,7 @@
|
|
106
106
|
|
107
107
|
rv = SM.get_screen('manager').rv
|
108
108
|
|
109
|
-
|
109
|
+
for item in rv.data:
|
110
|
-
|
111
|
-
for index, item in enumerate(data):
|
112
110
|
|
113
111
|
if item['id'] == self.id:
|
114
112
|
|