From dd0b1cf5ec48bc341a33b29d89c3897da9b134bd Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 29 Mar 2012 19:04:58 +0000 Subject: [PATCH] Disable the busy cursor while displaying the FPS prompt when exporting subtitles Originally committed to SVN as r6633. --- aegisub/src/subtitle_format.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aegisub/src/subtitle_format.cpp b/aegisub/src/subtitle_format.cpp index b44d4378d..f4758250a 100644 --- a/aegisub/src/subtitle_format.cpp +++ b/aegisub/src/subtitle_format.cpp @@ -130,9 +130,11 @@ agi::vfr::Framerate SubtitleFormat::AskForFPS(bool allow_vfr, bool show_smpte) c choices.Add(_("119.880 FPS (NTSC x4)")); choices.Add(_("120.000 FPS")); - using agi::vfr::Framerate; - // Ask + wxEndBusyCursor(); int choice = wxGetSingleChoiceIndex(_("Please choose the appropriate FPS for the subtitles:"), _("FPS"), choices); + wxBeginBusyCursor(); + + using agi::vfr::Framerate; if (choice == -1) return Framerate();