diff --git a/messages.json b/messages.json index d173730a..ec9077b6 100644 --- a/messages.json +++ b/messages.json @@ -40,5 +40,6 @@ "3.1.3": "messages/3.1.3.md", "3.1.4": "messages/3.1.4.md", "3.1.5": "messages/3.1.5.md", - "3.1.6": "messages/3.1.6.md" + "3.1.6": "messages/3.1.6.md", + "3.1.7": "messages/3.1.7.md" } diff --git a/messages/3.1.7.md b/messages/3.1.7.md new file mode 100644 index 00000000..af7cff08 --- /dev/null +++ b/messages/3.1.7.md @@ -0,0 +1,14 @@ +# MarkdownEditing 3.1.7 Changelog + +Your _MarkdownEditing_ plugin is updated. Enjoy new version. For any type of +feedback you can use [GitHub issues][issues]. + +## Bug Fixes + +* Fix automatic tab title if `set_unsaved_view_name` is absent + +## New Features + +## Changes + +[issues]: https://github.com/SublimeText-Markdown/MarkdownEditing/issues diff --git a/plugins/headings/common.py b/plugins/headings/common.py index ddf11c4b..f8a1b01d 100644 --- a/plugins/headings/common.py +++ b/plugins/headings/common.py @@ -57,7 +57,7 @@ class MdeUnsavedViewNameSetter(MdeViewEventListener): MAX_NAME = 50 def on_modified(self): - if self.view.file_name() is not None or not self.view.settings().get("set_unsaved_view_name"): + if self.view.file_name() is not None or not self.view.settings().get("set_unsaved_view_name", True): return name = first_heading_text(self.view)