From bff77d731fbfc51f4b7cbb3a1a72d9fd3995d631 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: SampleLibraryEditor: Initialize "is_playing" variable Fixes crash caused by jumping to wrong place due to uninitialized variable. Closes #4703 (cherry picked from commit 9acb666320a03d6f47b6bd43842488bdb921be9f) --- 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 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; } -- cgit v1.2.3