File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
ghostscope-ui/src/components Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1280,24 +1280,28 @@ impl App {
12801280 & command,
12811281 ) ;
12821282 additional_actions. extend ( actions) ;
1283+ self . state . command_renderer . mark_pending_updates ( ) ;
12831284 }
12841285 Action :: ExitScriptMode => {
12851286 let actions = crate :: components:: command_panel:: ScriptEditor :: exit_script_mode (
12861287 & mut self . state . command_panel ,
12871288 ) ;
12881289 additional_actions. extend ( actions) ;
1290+ self . state . command_renderer . mark_pending_updates ( ) ;
12891291 }
12901292 Action :: SubmitScript => {
12911293 let actions = crate :: components:: command_panel:: ScriptEditor :: submit_script (
12921294 & mut self . state . command_panel ,
12931295 ) ;
12941296 additional_actions. extend ( actions) ;
1297+ self . state . command_renderer . mark_pending_updates ( ) ;
12951298 }
12961299 Action :: CancelScript => {
12971300 let actions = crate :: components:: command_panel:: ScriptEditor :: exit_script_mode (
12981301 & mut self . state . command_panel ,
12991302 ) ;
13001303 additional_actions. extend ( actions) ;
1304+ self . state . command_renderer . mark_pending_updates ( ) ;
13011305 }
13021306 Action :: AddResponseWithStyle {
13031307 content,
You can’t perform that action at this time.
0 commit comments