Save document on modification.
This commit is contained in:
parent
ea8713c43f
commit
45d9cf5ebf
@ -488,7 +488,14 @@ static void
|
||||
modified_changed_cb (GtkTextBuffer *buffer,
|
||||
MooEdit *edit)
|
||||
{
|
||||
if (1)
|
||||
{
|
||||
moo_edit_save(edit, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
moo_edit_set_modified (edit, gtk_text_buffer_get_modified (buffer));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user