Fix Retry and Back buttons popping the wrong chunk
This commit is contained in:
parent
796f5ffd05
commit
b0d64985bb
|
@ -887,7 +887,7 @@ def actionretry(data):
|
|||
if(len(vars.actions) > 0):
|
||||
last_key = vars.actions.get_last_key()
|
||||
vars.actions.pop()
|
||||
remove_story_chunk(last_key)
|
||||
remove_story_chunk(last_key + 1)
|
||||
calcsubmit('')
|
||||
|
||||
#==================================================================#
|
||||
|
@ -900,7 +900,7 @@ def actionback():
|
|||
if(len(vars.actions) > 0):
|
||||
last_key = vars.actions.get_last_key()
|
||||
vars.actions.pop()
|
||||
remove_story_chunk(last_key)
|
||||
remove_story_chunk(last_key + 1)
|
||||
|
||||
#==================================================================#
|
||||
# Take submitted text and build the text to be given to generator
|
||||
|
|
Loading…
Reference in New Issue