Fix extension for 3d graph
[ctsim.git] / src / ctsim.cpp
index 756f6205be1abe990193b2beed6170ebe85723b6..9e3d06481b28c5575fe4b6185e1f9b3f7a900f4c 100644 (file)
@@ -1158,7 +1158,7 @@ CTSimApp::newGraph3dDoc()
 {
   wxString fname;
   m_docManager->MakeDefaultName(fname);
-  fname += _T(".3dif");
+  fname += _T(".g3d");
   Graph3dFileDocument* newDoc = dynamic_cast<Graph3dFileDocument*>(m_pDocTemplGraph3d->CreateDocument (fname));
   if (newDoc) {
     newDoc->SetDocumentName (m_pDocTemplGraph3d->GetDocumentName());