]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/InsetParamsWidget.cpp
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / InsetParamsWidget.cpp
index 317ad5023480839fede641f1ed63601b135e8477..96d39ab37dbd7ef967fff31bf4c5659cd628ace9 100644 (file)
@@ -29,6 +29,10 @@ CheckedWidget::CheckedWidget(QLineEdit * input, QWidget * label)
 
 bool CheckedWidget::check() const
 {
+       // Ignore if widget is disabled.
+       if (!input_->isEnabled())
+               return true;
+
        bool const valid = input_->hasAcceptableInput();
        // Visual feedback.
        setValid(input_, valid);