diff --git a/src/frontends/qt4/GuiDialog.cpp b/src/frontends/qt4/GuiDialog.cpp index 7b08bef7b4..f7271ad2bd 100644 --- a/src/frontends/qt4/GuiDialog.cpp +++ b/src/frontends/qt4/GuiDialog.cpp @@ -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); }