[LyX/master] Keep dialog connected to cross-ref inset after Apply.

Richard Kimberly Heck rikiheck at lyx.org
Fri Jan 15 16:11:21 UTC 2021


commit fd74bddffc743febc779f939727f104fb90ef7d1
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Fri Jan 15 11:11:40 2021 -0500

    Keep dialog connected to cross-ref inset after Apply.
    
    This does not actually have any effect yet, due to the fact that
    disconnectAfterApply returns true (and this is a GuiDialog).
---
 src/frontends/qt/GuiRef.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt/GuiRef.cpp b/src/frontends/qt/GuiRef.cpp
index 57859be..77ab515 100644
--- a/src/frontends/qt/GuiRef.cpp
+++ b/src/frontends/qt/GuiRef.cpp
@@ -613,6 +613,7 @@ void GuiRef::dispatchParams()
 {
 	std::string const lfun = InsetCommand::params2string(params_);
 	dispatch(FuncRequest(getLfun(), lfun));
+	connectToNewInset();
 }
 
 


More information about the lyx-cvs mailing list