mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +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,6 +215,9 @@ void Dialogs::updateBufferDependent(bool switched) const
|
|||||||
for(; it != end; ++it) {
|
for(; it != end; ++it) {
|
||||||
Dialog * dialog = it->second.get();
|
Dialog * dialog = it->second.get();
|
||||||
if (switched && dialog->controller().isBufferDependent()) {
|
if (switched && dialog->controller().isBufferDependent()) {
|
||||||
|
if (dialog->controller().initialiseParams(""))
|
||||||
|
dialog->view().update();
|
||||||
|
else
|
||||||
dialog->hide();
|
dialog->hide();
|
||||||
} else {
|
} else {
|
||||||
// A bit clunky, but the dialog will request
|
// A bit clunky, but the dialog will request
|
||||||
|
Loading…
Reference in New Issue
Block a user