diff --git a/file.py b/file.py index f77458f..3debb90 100644 --- a/file.py +++ b/file.py @@ -92,7 +92,7 @@ class File: del self.app.open_files[self.path] def save(self): - oz_string = self.app.open_files[self.path].bit_editor.input.toPlainText() + oz_string = self.bit_editor.input.toPlainText() data = self.app.utils.oz_string_to_bstring(oz_string) file = open(self.path, "wb")