mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Show Anyway button needs to be enabled/disabled in paramsToDialog.
Else, the state set on first launch persists, notwithstanding the change of function state.
This commit is contained in:
parent
90772a01e7
commit
80f992fc29
@ -72,7 +72,6 @@ GuiErrorList::GuiErrorList(GuiView & lv)
|
||||
|
||||
bc().setPolicy(ButtonPolicy::OkCancelPolicy);
|
||||
bc().setCancel(closePB);
|
||||
showAnywayPB->setEnabled(lyx::getStatus(FuncRequest(LFUN_BUFFER_VIEW_CACHE)).enabled());
|
||||
}
|
||||
|
||||
|
||||
@ -125,6 +124,8 @@ void GuiErrorList::paramsToDialog()
|
||||
for (; it != en; ++it)
|
||||
errorsLW->addItem(toqstr(it->error));
|
||||
errorsLW->setCurrentRow(0);
|
||||
showAnywayPB->setEnabled(
|
||||
lyx::getStatus(FuncRequest(LFUN_BUFFER_VIEW_CACHE)).enabled());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user