diff --git a/scenes/file_browser.gd b/scenes/file_browser.gd index 1b4e934..9f8a156 100644 --- a/scenes/file_browser.gd +++ b/scenes/file_browser.gd @@ -108,6 +108,7 @@ func _set_commit(new_commit): func _set_mode(new_mode): mode = new_mode + if save_button: save_button.visible = mode == FileBrowserMode.WORKING_DIRECTORY text_edit.readonly = not mode == FileBrowserMode.WORKING_DIRECTORY diff --git a/scenes/node.gd b/scenes/node.gd index c782412..16e970e 100644 --- a/scenes/node.gd +++ b/scenes/node.gd @@ -69,7 +69,7 @@ func type_set(new_type): type = new_type if type == "commit" and file_browser: file_browser.commit = self - file_browser.title = "Commit" + file_browser.title = "Commit " + id if type != "ref": $ID.text = $ID.text.substr(0,8) z_index = -1