We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8adf19c commit 20abc8bCopy full SHA for 20abc8b
src/Services/Document.vala
@@ -307,8 +307,7 @@ namespace Scratch.Services {
307
});
308
309
source_view.focus_out_event.connect (() => {
310
- if (source_view.buffer.get_modified () &&
311
- Scratch.settings.get_boolean ("strip-trailing-on-save")) {
+ if (Scratch.settings.get_boolean ("strip-trailing-on-save")) {
312
313
strip_trailing_spaces ();
314
}
0 commit comments