def save_project_as(): if PROJECT().last_save_path != None: open_dir = os.path.dirname(PROJECT().last_save_path) else: open_dir = None dialogs.save_project_as_dialog(_save_as_dialog_callback, PROJECT().name, open_dir)
def _save_project_pressed(): if target_project.last_save_path != None: open_dir = os.path.dirname(target_project.last_save_path) else: open_dir = None no_ext_name = target_project.name.replace('.flb', '') dialogs.save_project_as_dialog(_save_as_dialog_callback, no_ext_name + "_RELINKED.flb", open_dir)
def _save_project_pressed(): if target_project.last_save_path != None: open_dir = os.path.dirname(target_project.last_save_path) else: open_dir = None no_ext_name = target_project.name.replace('.flb','') dialogs.save_project_as_dialog(_save_as_dialog_callback, no_ext_name + "_RELINKED.flb", open_dir, linker_window)