mirror of
https://github.com/fralx/LimeReport.git
synced 2025-12-15 17:29:54 +03:00
External control unsaved changes
This commit is contained in:
@@ -977,9 +977,9 @@ QSettings*ReportDesignWindow::settings()
|
||||
}
|
||||
}
|
||||
|
||||
void ReportDesignWindow::slotNewReport()
|
||||
void ReportDesignWindow::slotNewReport(bool needCheck)
|
||||
{
|
||||
if (checkNeedToSave()) {
|
||||
if (!needCheck || checkNeedToSave()) {
|
||||
m_lblReportName->setText("");
|
||||
startNewReport();
|
||||
m_deletePageAction->setEnabled(false);
|
||||
|
||||
Reference in New Issue
Block a user