Disable the busy cursor while displaying the FPS prompt when exporting subtitles

Originally committed to SVN as r6633.
This commit is contained in:
Thomas Goyne 2012-03-29 19:04:58 +00:00
parent f31d9a5a8b
commit dd0b1cf5ec

View file

@ -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();