From c51fd3eb4ba74b9fe2627019e70fb8efe3f7cac5 Mon Sep 17 00:00:00 2001 From: Javier Serrano Polo Date: Sat, 22 Jul 2006 03:24:43 +0000 Subject: [PATCH] added method to avoid segfaults when closing the application git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@251 0778d3d1-df1d-0410-868b-ea421aaaa00d --- include/automation_pattern.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/automation_pattern.h b/include/automation_pattern.h index 359ee7552..104036263 100644 --- a/include/automation_pattern.h +++ b/include/automation_pattern.h @@ -99,6 +99,11 @@ public: m_update_first = _update; } + void forgetTrack() + { + m_track = NULL; + } + public slots: void openInAutomationEditor( void );