.agvmap 확장자제거하고 .json 으로 통일한 mapeditor 와 호환성 유지
This commit is contained in:
@@ -546,8 +546,8 @@ namespace AGVMapEditor.Forms
|
||||
{
|
||||
var openFileDialog = new OpenFileDialog
|
||||
{
|
||||
Filter = "AGV Map Files (*.agvmap;*.json)|*.agvmap;*.json|All Files (*.*)|*.*",
|
||||
DefaultExt = "agvmap",
|
||||
Filter = "AGV Map Files (*.json)|*.json|All Files (*.*)|*.*",
|
||||
DefaultExt = "json",
|
||||
};
|
||||
|
||||
|
||||
@@ -595,9 +595,9 @@ namespace AGVMapEditor.Forms
|
||||
{
|
||||
var saveFileDialog = new SaveFileDialog
|
||||
{
|
||||
Filter = "AGV Map Files (*.agvmap)|*.agvmap",
|
||||
DefaultExt = "agvmap",
|
||||
FileName = "NewMap.agvmap"
|
||||
Filter = "AGV Map Files (*.json)|*.json",
|
||||
DefaultExt = "json",
|
||||
FileName = "NewMap.json"
|
||||
};
|
||||
|
||||
if (saveFileDialog.ShowDialog() == DialogResult.OK)
|
||||
|
||||
Reference in New Issue
Block a user