Skip to content

Commit

Permalink
write textbox happens by default
Browse files Browse the repository at this point in the history
  • Loading branch information
socketteer committed Nov 28, 2021
1 parent 3a7fd9e commit b282494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,7 @@ def save_edits(self, **kwargs):
new_text = self.display.vis.textbox.get("1.0", 'end-1c')
self.state.update_text(self.state.node(self.display.vis.editing_node_id), new_text, save_revision_history=self.state.preferences['revision_history'])

elif kwargs.get("write", False):
elif kwargs.get("write", True):
self.write_textbox_changes()

def modules_tree_updated(self, **kwargs):
Expand Down

0 comments on commit b282494

Please sign in to comment.