mirror of https://github.com/odrling/Aegisub
Center the load/unload dialog over the main window
Originally committed to SVN as r6620.
This commit is contained in:
parent
d3eaa5af9c
commit
fccec60fec
|
@ -659,7 +659,7 @@ void FrameMain::OnSubtitlesOpen() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (autoLoadMode == 2) {
|
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);
|
SetDisplayMode(1, 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue