fix: unpack 4→3 в _employee_entries (ui.py)
This commit is contained in:
+2
-2
@@ -681,7 +681,7 @@ class DokoGenApp:
|
|||||||
|
|
||||||
# Пользователи
|
# Пользователи
|
||||||
if hasattr(self, '_employee_entries'):
|
if hasattr(self, '_employee_entries'):
|
||||||
for row_frame, _, _, _ in self._employee_entries:
|
for row_frame, _, _ in self._employee_entries:
|
||||||
row_frame.destroy()
|
row_frame.destroy()
|
||||||
self._employee_entries.clear()
|
self._employee_entries.clear()
|
||||||
for emp in c.employees_access:
|
for emp in c.employees_access:
|
||||||
@@ -1387,7 +1387,7 @@ class DokoGenApp:
|
|||||||
if data.get('employeesAccess'):
|
if data.get('employeesAccess'):
|
||||||
self.model.employees_access.clear()
|
self.model.employees_access.clear()
|
||||||
if hasattr(self, '_employee_entries'):
|
if hasattr(self, '_employee_entries'):
|
||||||
for row_frame, _, _, _ in self._employee_entries:
|
for row_frame, _, _ in self._employee_entries:
|
||||||
row_frame.destroy()
|
row_frame.destroy()
|
||||||
self._employee_entries.clear()
|
self._employee_entries.clear()
|
||||||
for emp in data['employeesAccess']:
|
for emp in data['employeesAccess']:
|
||||||
|
|||||||
Reference in New Issue
Block a user