]> git.lyx.org Git - features.git/commitdiff
After export-cancel, hide busy and cancel buttons
authorScott Kostyshak <skostysh@lyx.org>
Tue, 22 Nov 2022 19:28:45 +0000 (14:28 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 22 Nov 2022 19:30:52 +0000 (14:30 -0500)
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

index 82a6f173820eb82be645136b590f418c297ea5db..8269ff09cceec5164a8882c2045b17d6992678c4 100644 (file)
@@ -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: {