After export-cancel, hide busy and cancel buttons

This is consistent with 70a71a82 (which is about the code path
through clicking on the 'x' status bar icon).

In the next commit I'll make a function to centralize this sequence
of killing a script and emitting the scriptKilled() signal.
This commit is contained in:
Scott Kostyshak 2022-11-22 14:28:45 -05:00
parent 70a71a824b
commit 01abab9ad9

View File

@ -4449,6 +4449,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
} }
case LFUN_EXPORT_CANCEL: { case LFUN_EXPORT_CANCEL: {
Systemcall::killscript(); Systemcall::killscript();
Q_EMIT scriptKilled();
break; break;
} }
case LFUN_BUFFER_SWITCH: { case LFUN_BUFFER_SWITCH: {