changeset 36652:aff6fa4a1f70

Fix issue with font file selector. After selection, playing state doesn't need to be set GUI_STOP. This allows changing the font during playback of a video with immediate effect.
author ib
date Sun, 26 Jan 2014 16:53:21 +0000
parents 64f9837de3a5
children 123bf21dc4ea
files gui/dialog/fileselect.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/fileselect.c	Sun Jan 26 16:44:31 2014 +0000
+++ b/gui/dialog/fileselect.c	Sun Jan 26 16:53:21 2014 +0000
@@ -519,6 +519,9 @@
 
     fs_Cancel_released(NULL, NULL);
 
+    if (fsType == FILESELECT_FONT)
+        return;
+
     if (uiLoadPlay) {
         uiLoadPlay = False;
         uiEvent(evPlay, 0);