|
|
|
@ -387,8 +387,8 @@ class MainFrame(qt.QWidget):
|
|
|
|
|
if len(self.view.groups.GroupField) == 1 \
|
|
|
|
|
and len(Group.fields.Field) == 1:
|
|
|
|
|
add_button_flag = True
|
|
|
|
|
self._parent.control_button.del_button()
|
|
|
|
|
self._parent.control_button.add_clear_cache_button()
|
|
|
|
|
# self._parent.control_button.del_button()
|
|
|
|
|
# self._parent.control_button.add_clear_cache_button()
|
|
|
|
|
|
|
|
|
|
elif "button" in field.element:
|
|
|
|
|
add_button_flag = True
|
|
|
|
|