summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-04-03 22:04:18 +0200
committerCarl Hetherington <cth@carlh.net>2025-04-03 22:04:18 +0200
commit3107b37b0fe3d8d27bcba3257a1ebac327344a53 (patch)
treecf45fbdd99f6f27d56c4c277c4498da6b84bf14a
parentad334b38983b20b682af1b154506b555ba909594 (diff)
Fix error when pressing the HTTP server play button twice in a row.
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 26c3467aa..957407338 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -382,7 +382,7 @@ FilmViewer::resume ()
void
FilmViewer::start ()
{
- if (!_film) {
+ if (!_film || _playing) {
return;
}