2
0
Эх сурвалжийг харах

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ł 9 жил өмнө
parent
commit
bff77d731f

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