From f7f8934e79a58889f9ea09f2ff976e444c257daf Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 21 Dec 2020 19:54:54 +0300 Subject: [PATCH] delete page activation has been fixed --- limereport/lrreportdesignwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/limereport/lrreportdesignwindow.cpp b/limereport/lrreportdesignwindow.cpp index 57af790..bdfa031 100644 --- a/limereport/lrreportdesignwindow.cpp +++ b/limereport/lrreportdesignwindow.cpp @@ -135,6 +135,7 @@ ReportDesignWindow::ReportDesignWindow(ReportEnginePrivateInterface* report, QWi m_hideLeftPanel->setChecked(isDockAreaVisible(Qt::LeftDockWidgetArea)); m_hideRightPanel->setChecked(isDockAreaVisible(Qt::RightDockWidgetArea)); createProgressBar(); + m_deletePageAction->setEnabled(report->pageCount()>1); } ReportDesignWindow::~ReportDesignWindow()