Explorar o código

SampleLibraryEditor: Initialize "is_playing" variable

Fixes crash caused by jumping to wrong place due to uninitialized
variable.

Closes #4703

(cherry picked from commit 9acb666320a03d6f47b6bd43842488bdb921be9f)
Błażej Szczygieł %!s(int64=9) %!d(string=hai) anos
pai
achega
bff77d731f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/editor/plugins/sample_library_editor_plugin.cpp

+ 1 - 1
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;
 }