[PC-BSD Commits] r20102 - users/ken/EasyPBI2
svn at pcbsd.org
svn at pcbsd.org
Thu Nov 1 07:39:54 PDT 2012
Author: kenmoore
Date: 2012-11-01 14:39:54 +0000 (Thu, 01 Nov 2012)
New Revision: 20102
Modified:
users/ken/EasyPBI2/mainGUI.cpp
Log:
Add some more error reporting to EasyPBI2
Modified: users/ken/EasyPBI2/mainGUI.cpp
===================================================================
--- users/ken/EasyPBI2/mainGUI.cpp 2012-11-01 14:00:52 UTC (rev 20101)
+++ users/ken/EasyPBI2/mainGUI.cpp 2012-11-01 14:39:54 UTC (rev 20102)
@@ -1133,9 +1133,9 @@
//Save the file
bool ok = ModBuild::createFile(filename,contents);
//display a warning if error
- //if(!ok){
- //QMessageBox::warning(this,
- //}
+ if(!ok){
+ QMessageBox::warning(this,tr("Error Saving File"), tr("Could not save the script")+"\n"+tr("Please check the file permissions and try again") );
+ }
//Now refresh the UI
refreshGUI("scripts");
}
More information about the Commits
mailing list