aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.py b/src/editor.py
index f128b8e..fc75baa 100644
--- a/src/editor.py
+++ b/src/editor.py
@@ -326,7 +326,7 @@ class TextArea():
self.alert('No mark is activated')
elif ord(d) == ord('S') - ord('@'):
last = ''
- for row in range(0, len(datalines)):
+ for row in range(0, len(self.lines)):
self.datamap[self.lines[row].name] = self.lines[row].text
saver()
modified = False