diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb index dbe49f1..a83fcd2 100644 Binary files a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb and b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.ncb differ diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo index aced8af..5856c97 100644 Binary files a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo and b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL.suo differ diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm index 9e715f4..1e0dac8 100644 Binary files a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm and b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Debug/BuildLog.htm differ diff --git a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_util.cpp b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_util.cpp index f5e1493..a632488 100644 --- a/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_util.cpp +++ b/build/tools/MasterEditor/MasterEditorTWL/MasterEditorTWL/Form_util.cpp @@ -333,6 +333,19 @@ System::String^ Form1::saveDirDlg( System::String ^msgJ, System::String ^msgE ) System::String ^dir; System::Windows::Forms::FolderBrowserDialog ^dlg = gcnew (System::Windows::Forms::FolderBrowserDialog); + // デフォルトのフォルダを前に選択したフォルダにする + dlg->RootFolder = System::Environment::SpecialFolder::Desktop; + if( System::String::IsNullOrEmpty( this->prevDir ) || !System::IO::Directory::Exists( this->prevDir ) ) + { + dlg->SelectedPath = System::Environment::GetFolderPath( System::Environment::SpecialFolder::Desktop ); + } + else + { + dlg->SelectedPath = this->prevDir; + } + dlg->ShowNewFolderButton = true; + + // ダイアログの上部に出るメッセージ if( this->isEnglish() && msgE ) { dlg->Description = msgE; @@ -355,6 +368,7 @@ System::String^ Form1::saveDirDlg( System::String ^msgJ, System::String ^msgE ) { dir = System::String::Copy(dlg->SelectedPath); } + this->prevDir = dir; // 選択したフォルダを次のフォルダにする return dir; }