mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
No need to update the prefs dialog if it is not visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22015 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
db95e2cb85
commit
8cd46dd3c3
@ -1722,8 +1722,10 @@ void GuiView::updateBufferDependent(bool switched) const
|
||||
|
||||
for(; it != end; ++it) {
|
||||
Dialog * dialog = it->second.get();
|
||||
if (!dialog->isVisibleView())
|
||||
continue;
|
||||
if (switched && dialog->isBufferDependent()) {
|
||||
if (dialog->isVisibleView() && dialog->initialiseParams(""))
|
||||
if (dialog->initialiseParams(""))
|
||||
dialog->updateView();
|
||||
else
|
||||
dialog->hide();
|
||||
|
Loading…
Reference in New Issue
Block a user