commit 01abab9ad943bb2c89ef2a4c6a9acd8f695e5e54
Author: Scott Kostyshak <[email protected]>
Date: Tue Nov 22 14:28:45 2022 -0500
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 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 82a6f17..8269ff0 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: {
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs