From 77b151a7880c6971f546031928cb3c8b900df933 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sat, 5 Nov 2016 18:12:10 +0300 Subject: [PATCH] Insert mode is canceled when band inserted --- limereport/lrpagedesignintf.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/limereport/lrpagedesignintf.cpp b/limereport/lrpagedesignintf.cpp index e266e44..e0a5ec2 100644 --- a/limereport/lrpagedesignintf.cpp +++ b/limereport/lrpagedesignintf.cpp @@ -413,6 +413,11 @@ template BaseDesignIntf *PageDesignIntf::internalAddBand(T bandType) { + if (m_insertMode) { + m_insertMode = false; + emit itemInsertCanceled(m_insertItemType); + } + QSet needParentBands; needParentBands << BandDesignIntf::SubDetailBand << BandDesignIntf::SubDetailHeader