diff options
author | Tim E. Real <termtech@rogers.com> | 2011-10-16 21:35:39 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-10-16 21:35:39 +0000 |
commit | a65f03f8cefc3e1d2e6b71ace15789fc63795275 (patch) | |
tree | 7d7138e88f4dbd6c1dba3a67618dccf37973888c /muse2/muse/master/masteredit.h | |
parent | b071fa342f72770346e36b3564c9c225d9af791f (diff) |
Fixed crashes reloading songs having open editors. Previous memleak fixes
revealed some problems. Installed bool TopWin::deleting(). It is set true when
closeEvent() is called in any self-deleting TopWins. Used it to make all such
TopWins and their corresponding child canvasses ignore songChanged signals.
Diffstat (limited to 'muse2/muse/master/masteredit.h')
-rw-r--r-- | muse2/muse/master/masteredit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/master/masteredit.h b/muse2/muse/master/masteredit.h index fdf8dd71..835ca879 100644 --- a/muse2/muse/master/masteredit.h +++ b/muse2/muse/master/masteredit.h @@ -91,7 +91,7 @@ class MasterEdit : public MidiEditor { // void tempoChanged(double); signals: - void deleted(MusEGui::TopWin*); + void isDeleting(MusEGui::TopWin*); public: MasterEdit(); |