From: Scott Kostyshak Date: Tue, 22 Nov 2022 19:28:45 +0000 (-0500) Subject: After export-cancel, hide busy and cancel buttons X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=01abab9ad943bb2c89ef2a4c6a9acd8f695e5e54;p=features.git 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. --- diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp index 82a6f17382..8269ff09cc 100644 --- a/src/frontends/qt/GuiView.cpp +++ b/src/frontends/qt/GuiView.cpp @@ -4449,6 +4449,7 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr) } case LFUN_EXPORT_CANCEL: { Systemcall::killscript(); + Q_EMIT scriptKilled(); break; } case LFUN_BUFFER_SWITCH: {