mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Fix bug #6125: Float positioning dialog enables invalid options for subfloats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30877 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b9e188c397
commit
8b237b49cd
@ -181,6 +181,13 @@ bool InsetFloat::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
flag.setEnabled(true);
|
||||
return true;
|
||||
|
||||
case LFUN_INSET_SETTINGS:
|
||||
if (InsetCollapsable::getStatus(cur, cmd, flag)) {
|
||||
flag.setEnabled(flag.enabled() && !params_.subfloat);
|
||||
return true;
|
||||
} else
|
||||
return false;
|
||||
|
||||
default:
|
||||
return InsetCollapsable::getStatus(cur, cmd, flag);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user