fixed crash pressing space on null sequence

This commit is contained in:
itsmattkc
2019-03-13 21:34:44 +11:00
parent c634070368
commit 06ed5ea05d
2 changed files with 4 additions and 1 deletions
+4
View File
@@ -376,6 +376,10 @@ void Viewer::decrease_speed() {
}
void Viewer::play(bool in_to_out) {
if (seq == nullptr) {
return;
}
if (panel_sequence_viewer->playing) panel_sequence_viewer->pause();
if (panel_footage_viewer->playing) panel_footage_viewer->pause();