mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
bug 4652: better fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24781 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5b4edfeb2c
commit
ed4ea2cb97
@ -87,7 +87,10 @@ void GuiDialog::changed()
|
||||
|
||||
void GuiDialog::enableView(bool enable)
|
||||
{
|
||||
bc().setReadOnly(!enable);
|
||||
if (!enable) {
|
||||
bc().setReadOnly(true);
|
||||
bc().setValid(false);
|
||||
}
|
||||
Dialog::enableView(enable);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user