src/mainWindow.cc

changeset 859
ebc7a186699c
parent 858
b6b1afacb7c1
child 861
83426c5fa732
equal deleted inserted replaced
858:b6b1afacb7c1 859:ebc7a186699c
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 }

mercurial