]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/InsetParamsDialog.cpp
Amend f441590c
[lyx.git] / src / frontends / qt4 / InsetParamsDialog.cpp
index 41b4bfa09c0e6c789e0db5ef3211ef2cf4bf643b..81652af61a88081ae4a933996478e92715793248 100644 (file)
@@ -181,7 +181,7 @@ docstring InsetParamsDialog::checkWidgets(bool immediate)
        bool const can_be_restored = !immediate && !read_only
                        && ins && (ins != d->inset_ || d->changed_);
        restorePB->setEnabled(can_be_restored);
-       applyPB->setEnabled(!immediate && lfun_ok && widget_ok && !read_only && valid_argument);
+       applyPB->setEnabled(ins && !immediate && lfun_ok && widget_ok && !read_only && valid_argument);
        newPB->setEnabled(widget_ok && !read_only && valid_argument);
        synchronizedCB->setEnabled(!immediate);
        return argument;