From 9acb666320a03d6f47b6bd43842488bdb921be9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= Date: Fri, 3 Jun 2016 19:52:07 +0200 Subject: [PATCH] SampleLibraryEditor: Initialize "is_playing" variable Fixes crash caused by jumping to wrong place due to uninitialized variable. Closes #4703 --- tools/editor/plugins/sample_library_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/plugins/sample_library_editor_plugin.cpp b/tools/editor/plugins/sample_library_editor_plugin.cpp index f15a2834ca3..9e9ea09f6da 100644 --- a/tools/editor/plugins/sample_library_editor_plugin.cpp +++ b/tools/editor/plugins/sample_library_editor_plugin.cpp @@ -357,7 +357,7 @@ SampleLibraryEditor::SampleLibraryEditor() { file->connect("files_selected", this,"_file_load_request"); tree->connect("item_edited", this,"_item_edited"); - + is_playing = false; }