mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
マスタエディタ:SRLのみを作成するときに上書き確認を追加。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2593 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
6c5f2b9f66
commit
903a222c07
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3912,6 +3912,21 @@ private: System::Windows::Forms::CheckBox^ cboxIsPhotoEx;
|
||||
filename = dlg->SelectedPath + filename;
|
||||
}
|
||||
}
|
||||
if( System::IO::File::Exists( filename ) )
|
||||
{
|
||||
System::String ^msg;
|
||||
if( this->stripItemJapanese->Checked )
|
||||
msg = gcnew System::String( filename + "はすでに存在します。上書きしますか?" );
|
||||
else
|
||||
msg = gcnew System::String( filename + "already exists. Overwrite it?" );
|
||||
if( MessageBox::Show( msg, "Information", MessageBoxButtons::YesNo, MessageBoxIcon::None )
|
||||
== System::Windows::Forms::DialogResult::No )
|
||||
{
|
||||
this->errMsg( "マスターROMの作成をキャンセルしました。",
|
||||
"Making a master ROM is canceled." );
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
try
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user