mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
* frontends/Dialogs::updateBufferDependent()
- update dialogs instead of hiding for dialogs that support that. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17414 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bf61ecc2de
commit
93211e0f3c
@ -215,7 +215,10 @@ void Dialogs::updateBufferDependent(bool switched) const
|
||||
for(; it != end; ++it) {
|
||||
Dialog * dialog = it->second.get();
|
||||
if (switched && dialog->controller().isBufferDependent()) {
|
||||
dialog->hide();
|
||||
if (dialog->controller().initialiseParams(""))
|
||||
dialog->view().update();
|
||||
else
|
||||
dialog->hide();
|
||||
} else {
|
||||
// A bit clunky, but the dialog will request
|
||||
// that the kernel provides it with the necessary
|
||||
|
Loading…
Reference in New Issue
Block a user