Fix error while changing string-based options (#7183)

Fix widget text access
This commit is contained in:
Gaurav Jain 2024-09-16 16:42:07 +05:30 committed by GitHub
parent 65db82f4cf
commit 9369bc8d76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Edit(base.Cell):
super().__init__(w)
def get_data(self) -> bytes:
txt = self._w.get_text()[0].strip()
txt = self._w.base_widget.get_text()[0].strip()
try:
return strutils.escaped_str_to_bytes(txt)
except ValueError: