Initial commit of better editing method. Has some visual bugs that need to be worked on

This commit is contained in:
ebolam
2022-09-14 11:58:01 -04:00
parent d124359038
commit c172ff6b0b
4 changed files with 54 additions and 20 deletions

View File

@@ -7144,7 +7144,7 @@ def UI_2_save_to_json():
#==================================================================#
@socketio.on('Set Selected Text')
def UI_2_Set_Selected_Text(data):
if koboldai_vars.quiet:
if not koboldai_vars.quiet:
print("Updating Selected Text: {}".format(data))
koboldai_vars.actions[int(data['id'])] = data['text']