748 if (doc->save (path, &savesize)) |
748 if (doc->save (path, &savesize)) |
749 { |
749 { |
750 if (doc == getCurrentDocument()) |
750 if (doc == getCurrentDocument()) |
751 updateTitle(); |
751 updateTitle(); |
752 |
752 |
753 print ("Saved to %1 (%2)", path, prettyFileSize (savesize)); |
753 print ("Saved to %1 (%2)", path, MakePrettyFileSize (savesize)); |
754 |
754 |
755 // Add it to recent files |
755 // Add it to recent files |
756 addRecentFile (path); |
756 addRecentFile (path); |
757 return true; |
757 return true; |
758 } |
758 } |