Don't show warning about unsaved change if we have brocken formula.
--HG-- branch : develop
This commit is contained in:
parent
2ff611b923
commit
1cb1166824
|
@ -2028,7 +2028,7 @@ void MainWindow::WriteSettings()
|
||||||
*/
|
*/
|
||||||
bool MainWindow::MaybeSave()
|
bool MainWindow::MaybeSave()
|
||||||
{
|
{
|
||||||
if (this->isWindowModified())
|
if (this->isWindowModified() && guiEnabled)
|
||||||
{
|
{
|
||||||
QMessageBox::StandardButton ret;
|
QMessageBox::StandardButton ret;
|
||||||
ret = QMessageBox::warning(this, tr("Unsaved change"), tr("The pattern has been modified.\n"
|
ret = QMessageBox::warning(this, tr("Unsaved change"), tr("The pattern has been modified.\n"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user