mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
Bugfix: no need to update if the dialog is not visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17533 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6862d3f972
commit
d75143217c
@ -215,7 +215,7 @@ void Dialogs::updateBufferDependent(bool switched) const
|
||||
for(; it != end; ++it) {
|
||||
Dialog * dialog = it->second.get();
|
||||
if (switched && dialog->controller().isBufferDependent()) {
|
||||
if (dialog->controller().initialiseParams(""))
|
||||
if (dialog->isVisible() && dialog->controller().initialiseParams(""))
|
||||
dialog->view().update();
|
||||
else
|
||||
dialog->hide();
|
||||
|
Loading…
Reference in New Issue
Block a user