comparison main/MainWindow.cpp @ 2440:d811380516f6 spectrogram-export

Replace use of m_abandoning by setting document modified to false
author Chris Cannam
date Wed, 08 Jan 2020 15:39:34 +0000
parents f40cd7a512d4
children b3330c31ea0e
comparison
equal deleted inserted replaced
2439:882848f168e8 2440:d811380516f6
3592 SVCERR << "Busy - ignoring close event" << endl; 3592 SVCERR << "Busy - ignoring close event" << endl;
3593 e->ignore(); 3593 e->ignore();
3594 return; 3594 return;
3595 } 3595 }
3596 3596
3597 if (!m_abandoning && !checkSaveModified()) { 3597 if (!checkSaveModified()) {
3598 SVCERR << "Close refused by user - ignoring close event" << endl; 3598 SVCERR << "Close refused by user - ignoring close event" << endl;
3599 e->ignore(); 3599 e->ignore();
3600 return; 3600 return;
3601 } 3601 }
3602 3602