]> git.lyx.org Git - features.git/commitdiff
Keep dialog connected to cross-ref inset after Apply.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 15 Jan 2021 16:11:40 +0000 (11:11 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 15 Jan 2021 16:12:25 +0000 (11:12 -0500)
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

index 57859be82bdabdae25cb8c1e5f9c496541f3b7c5..77ab51535de94f2d37fd8931db7e5dc67b36d81f 100644 (file)
@@ -613,6 +613,7 @@ void GuiRef::dispatchParams()
 {
        std::string const lfun = InsetCommand::params2string(params_);
        dispatch(FuncRequest(getLfun(), lfun));
+       connectToNewInset();
 }