mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Assure OK/Apply button is initially disabled in InsetParamsDialogs (#8927)
This commit is contained in:
parent
d0fe7fcb7b
commit
a2629b8eab
@ -102,6 +102,12 @@ bool InsetParamsDialog::initialiseParams(std::string const & sdata)
|
||||
{
|
||||
if (!d->widget_->initialiseParams(sdata))
|
||||
resetDialog();
|
||||
else {
|
||||
// Needed to keep the OK/Apply buttons
|
||||
// disabled (see #8927)
|
||||
d->changed_ = false;
|
||||
d->inset_ = inset(d->widget_->insetCode());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user