mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix bug 3186?
http://bugzilla.lyx.org/show_bug.cgi?id=3186 Caption outside float or long table will get the "Senseless!!" label. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18120 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2640b21228
commit
845feeabfc
@ -51,6 +51,14 @@ namespace lyx {
|
|||||||
|
|
||||||
using support::bformat;
|
using support::bformat;
|
||||||
|
|
||||||
|
InsetCaption::InsetCaption(InsetCaption const & ic)
|
||||||
|
: InsetText(ic), textclass_(ic.textclass_)
|
||||||
|
{
|
||||||
|
setAutoBreakRows(true);
|
||||||
|
setDrawFrame(true);
|
||||||
|
setFrameColor(Color::captionframe);
|
||||||
|
}
|
||||||
|
|
||||||
InsetCaption::InsetCaption(BufferParams const & bp)
|
InsetCaption::InsetCaption(BufferParams const & bp)
|
||||||
: InsetText(bp), textclass_(bp.getTextClass())
|
: InsetText(bp), textclass_(bp.getTextClass())
|
||||||
{
|
{
|
||||||
|
@ -23,6 +23,7 @@ namespace lyx {
|
|||||||
class InsetCaption : public InsetText {
|
class InsetCaption : public InsetText {
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
|
InsetCaption(InsetCaption const &);
|
||||||
InsetCaption(BufferParams const &);
|
InsetCaption(BufferParams const &);
|
||||||
///
|
///
|
||||||
virtual ~InsetCaption() {}
|
virtual ~InsetCaption() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user