Skip to content

Commit

Permalink
Merge pull request #191 from nxt-dev/dev
Browse files Browse the repository at this point in the history
Release editor-v3.9.0
  • Loading branch information
MichaelAldrich authored Jun 3, 2021
2 parents 57386a5 + 574333c commit 8fe2925
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/validate_version_numbers.nxt
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"for rel_cat, rel_dict in version_data.items():",
" actual = rel_dict['actual']",
" release = rel_dict['version']",
" print release",
" print(release)",
" rel_type = rel_dict['rel_type']",
" if rel_type is None:",
" continue",
Expand Down
6 changes: 2 additions & 4 deletions nxt_editor/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,13 +516,11 @@ def load_file(self, filepath=None):
try:
new_stage = self.nxt.load_file(potential_path)
except IOError as e:
# Log error if no file could be loaded and set a blank stage
new_stage = None
logger.exception("Nxt failed to open file from path, see log.")
NxtWarningDialog.show_message("Failed to Open", str(e))
self.set_waiting_cursor(False)
if new_stage:
self.new_tab(initial_stage=new_stage, update=not self.in_startup)
user_dir.editor_cache[user_dir.USER_PREF.LAST_OPEN] = potential_path
user_dir.editor_cache[user_dir.USER_PREF.LAST_OPEN] = potential_path

def save_open_tab(self):
"""Save the file that corresponds to the currently selected tab."""
Expand Down
4 changes: 2 additions & 2 deletions nxt_editor/version.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"EDITOR": {
"MAJOR": 3,
"MINOR": 8,
"PATCH": 3
"MINOR": 9,
"PATCH": 0
}
}

0 comments on commit 8fe2925

Please sign in to comment.