summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2016-06-03 19:52:07 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-06-03 20:07:46 +0200
commitbff77d731fbfc51f4b7cbb3a1a72d9fd3995d631 (patch)
tree83674950796821bccfc6a1fe06ad148bd3909fcc
parent21e05167b1f3afa46de33be76b17b600cd9c640c (diff)
SampleLibraryEditor: Initialize "is_playing" variable
Fixes crash caused by jumping to wrong place due to uninitialized variable. Closes #4703 (cherry picked from commit 9acb666320a03d6f47b6bd43842488bdb921be9f)
-rw-r--r--tools/editor/plugins/sample_library_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/sample_library_editor_plugin.cpp b/tools/editor/plugins/sample_library_editor_plugin.cpp
index c333d1d85f..2a6940332c 100644
--- a/tools/editor/plugins/sample_library_editor_plugin.cpp
+++ b/tools/editor/plugins/sample_library_editor_plugin.cpp
@@ -481,7 +481,7 @@ SampleLibraryEditor::SampleLibraryEditor() {
file->connect("files_selected", this,"_file_load_request");
tree->connect("item_edited", this,"_item_edited");
-
+ is_playing = false;
}