Skip to content

Commit

Permalink
Minor Change
Browse files Browse the repository at this point in the history
  • Loading branch information
Islam Wahdan committed Jan 12, 2016
1 parent 3dfe887 commit 01d9927
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed Script_PS.suo
Binary file not shown.
Binary file removed Script_PS.v12.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion Script_PS/Snippit_GUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Script_PS {
SnippitTypeCombo->Items->Add("PolySpace_1");
SnippitTypeCombo->Items->Add("PolySpace_2");
SnippitTypeCombo->Items->Add("Bug_Report");
if (!this->Snpt_Replacer->Load_XmlFile(XmlPath))
if (System::IO::File::Exists(XmlPath) && (!this->Snpt_Replacer->Load_XmlFile(XmlPath)))
{
throw (gcnew System::Exception("Failed to load Xml"));
}
Expand Down

0 comments on commit 01d9927

Please sign in to comment.