Subversion Repositories spk

Rev

Rev 36 | Rev 50 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36 Rev 39
Line 153... Line 153...
153
		this->UseWaitCursor = true;
153
		this->UseWaitCursor = true;
154
 
154
 
155
		vfs->updateModTexts(17);
155
		vfs->updateModTexts(17);
156
 
156
 
157
		String ^shipID = getShipSelection(vfs);
157
		String ^shipID = getShipSelection(vfs);
158
		if ( shipID ) {
158
		if ( !shipID ) {
-
 
159
			MessageBox::Show(this, "There was a problem trying to load the mod file\n" + ofd->FileName, "Error Importing Ship", MessageBoxButtons::OK, MessageBoxIcon::Error);
-
 
160
		}
-
 
161
		else if ( shipID->Length ) {
159
			String ^loadMod = ofd->FileName;
162
			String ^loadMod = ofd->FileName;
160
			CXspFile *newShip = NULL;
163
			CXspFile *newShip = NULL;
161
 
164
 
162
			while ( true ) {
165
			while ( true ) {
163
				Creator::ImportShip ^import = gcnew Creator::ImportShip(shipID, vfs);
166
				Creator::ImportShip ^import = gcnew Creator::ImportShip(shipID, vfs);