python kivy AttributeError: 'NoneType' object has no attribute 'current'
пишу значит на киви для смены окон использую screenmanager все работало отлично, но после одной из сборок вылезла ошибка
AttributeError: 'NoneType' object has no attribute 'current'
WindowManager:
MainWindow:
SecondWindow:
ThirdWindow:
FWindow:
SWindow:
<MainWindow>:
name: "main"
GridLayout:
rows:2
padding:75
spacing: 50
Button:
markup:True
text: "кнопка 1 "
on_release:
app.root.current="second"
root.manager.transition.direction = "left"
<SecondWindow>:
name: "second"
GridLayout:
cols:2
CustomTextInput:
hint_text: "текст инпут"
multiline: False
CustomTextInput:
hint_text: "текст инпут"
multiline: False
Button:
text:"Сохранить"
on_release:
self.text='Сохранено'
Button:
text: "Назад"
on_release:
app.root.current = "main"
root.manager.transition.direction = "right"
Да, CustomTextInput
class CustomTextInput(TextInput):
def _hide_cut_copy_paste(self, win=None):
bubble = self._bubble
if not bubble:
return