mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-25 04:54:40 +03:00
Insert mode is canceled when band inserted
This commit is contained in:
parent
8c09e5ed51
commit
77b151a788
@ -413,6 +413,11 @@ template <typename T>
|
|||||||
BaseDesignIntf *PageDesignIntf::internalAddBand(T bandType)
|
BaseDesignIntf *PageDesignIntf::internalAddBand(T bandType)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (m_insertMode) {
|
||||||
|
m_insertMode = false;
|
||||||
|
emit itemInsertCanceled(m_insertItemType);
|
||||||
|
}
|
||||||
|
|
||||||
QSet<BandDesignIntf::BandsType> needParentBands;
|
QSet<BandDesignIntf::BandsType> needParentBands;
|
||||||
needParentBands << BandDesignIntf::SubDetailBand
|
needParentBands << BandDesignIntf::SubDetailBand
|
||||||
<< BandDesignIntf::SubDetailHeader
|
<< BandDesignIntf::SubDetailHeader
|
||||||
|
Loading…
Reference in New Issue
Block a user