From 01abab9ad943bb2c89ef2a4c6a9acd8f695e5e54 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Tue, 22 Nov 2022 14:28:45 -0500 Subject: [PATCH] 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. --- src/frontends/qt/GuiView.cpp | 1 + 1 file changed, 1 insertion(+) 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: {