mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Assure OK/Apply button is initially disabled in InsetParamsDialogs (#8927)
(cherry picked from commit a2629b8eab
)
This commit is contained in:
parent
16f8084536
commit
53ae96fb0b
@ -103,6 +103,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