From 84953b68476d016b0059ebf2511c57b6956d701c Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Thu, 21 Apr 2016 12:25:16 +0300 Subject: [PATCH] Show error action in preview window has been fixed --- limereport/lrpreviewreportwindow.cpp | 9 +++++++++ limereport/lrpreviewreportwindow.h | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/limereport/lrpreviewreportwindow.cpp b/limereport/lrpreviewreportwindow.cpp index 7552b45..7ca7f7c 100644 --- a/limereport/lrpreviewreportwindow.cpp +++ b/limereport/lrpreviewreportwindow.cpp @@ -307,6 +307,11 @@ void PreviewReportWindow::slotScalePercentChanged(int percent) m_scalePercent->setEditText(QString("%1%").arg(percent)); } +void PreviewReportWindow::on_actionShowMessages_toggled(bool value) +{ + m_previewReportWidget->setErrorsMesagesVisible(value); +} + }// namespace LimeReport @@ -314,3 +319,7 @@ void PreviewReportWindow::slotScalePercentChanged(int percent) + + + + diff --git a/limereport/lrpreviewreportwindow.h b/limereport/lrpreviewreportwindow.h index 6a68f82..995810c 100644 --- a/limereport/lrpreviewreportwindow.h +++ b/limereport/lrpreviewreportwindow.h @@ -84,7 +84,9 @@ private slots: void on_actionFit_page_triggered(); void on_actionOne_to_one_triggered(); void scaleComboboxChanged(QString text); - void slotScalePercentChanged(int percent); + void slotScalePercentChanged(int percent); + void on_actionShowMessages_toggled(bool value); + private: ItemsReaderIntf* reader(); void initPercentCombobox();