Center the load/unload dialog over the main window

Originally committed to SVN as r6620.
This commit is contained in:
Thomas Goyne 2012-03-27 23:14:42 +00:00
parent d3eaa5af9c
commit fccec60fec

View file

@ -659,7 +659,7 @@ void FrameMain::OnSubtitlesOpen() {
}
if (autoLoadMode == 2) {
if (wxMessageBox(_("Do you want to load/unload the associated files?"), _("(Un)Load files?"), wxYES_NO) != wxYES) {
if (wxMessageBox(_("Do you want to load/unload the associated files?"), _("(Un)Load files?"), wxYES_NO | wxCENTRE, this) != wxYES) {
SetDisplayMode(1, 1);
return;
}