C2025-008 RO Editor – Remove redundant Save Failed message box
This commit is contained in:
		| @@ -2628,7 +2628,6 @@ namespace ROEditor | ||||
| 			success = ctlXMLEdit2.SaveData(); | ||||
| 			if (!success) | ||||
| 			{ | ||||
| 				MessageBox.Show("Save Failed"); | ||||
| 				return false; | ||||
| 			}  | ||||
| 			VlnXmlElement myro; | ||||
| @@ -2744,7 +2743,6 @@ namespace ROEditor | ||||
| 			if (!success) | ||||
| 			{ | ||||
| 				tbtnRestore.Enabled = false; // old data may not be around | ||||
| 				MessageBox.Show("Save Failed"); | ||||
| 				return; | ||||
| 			} | ||||
| 			 | ||||
|   | ||||
| @@ -772,6 +772,7 @@ namespace ctlXMLEditLib | ||||
| 				dosaveflag = false; | ||||
| 				return (true); | ||||
| 			} | ||||
| 			MessageBox.Show("Save Failed"); | ||||
| 			return (false); | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user