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();