mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
Disable Immediate Apply if no inset is modified.
This commit is contained in:
parent
8f467f32c4
commit
d1fbbb78a8
@ -200,6 +200,7 @@ docstring InsetParamsDialog::checkWidgets(bool immediate)
|
||||
buttonBox->button(QDialogButtonBox::Apply)->setEnabled(ins && !immediate
|
||||
&& lfun_ok && widget_ok
|
||||
&& !read_only && valid_argument);
|
||||
immediateApplyCB->setEnabled(ins && !read_only);
|
||||
// This seems to be the only way to access custom buttons
|
||||
QList<QAbstractButton*> buttons = buttonBox->buttons();
|
||||
for (int i = 0; i < buttons.size(); ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user