Mercurial > hg > sonic-visualiser
diff 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 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Wed Jan 08 15:36:12 2020 +0000 +++ b/main/MainWindow.cpp Wed Jan 08 15:39:34 2020 +0000 @@ -3594,7 +3594,7 @@ return; } - if (!m_abandoning && !checkSaveModified()) { + if (!checkSaveModified()) { SVCERR << "Close refused by user - ignoring close event" << endl; e->ignore(); return;