mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Merge pull request #291 from pi6am/fix/save-as
Fix an exception using Save As from the classic UI
This commit is contained in:
@@ -7162,8 +7162,8 @@ def exitModes():
|
||||
# Launch in-browser save prompt
|
||||
#==================================================================#
|
||||
def saveas(data):
|
||||
|
||||
koboldai_vars.story_name = data['name']
|
||||
name = data['name']
|
||||
koboldai_vars.story_name = name
|
||||
if not data['pins']:
|
||||
koboldai_vars.actions.clear_all_options()
|
||||
# Check if filename exists already
|
||||
|
Reference in New Issue
Block a user