[Uml-devel] kdesdk/umbrello/umbrello

Brian Thomas thomas at mail630.gsfc.nasa.gov
Tue Apr 13 13:17:16 UTC 2004


CVS commit by thomas: 

bug fix: when 'overwrite' was chosen for file names, upon the second and subsequent calls to 'generate code' the file extension would be dropped off. fixed


  M +3 -1      codegenerator.cpp   1.42


--- kdesdk/umbrello/umbrello/codegenerator.cpp  #1.41:1.42
@@ -435,4 +435,5 @@ QString CodeGenerator::overwritableName(
         switch(overwritePolicy()) {  //if it exists, check the OverwritePolicy we should use
                 case CodeGenerationPolicy::Ok:                //ok to overwrite file
+                        name = name + extention;
                         break;
                 case CodeGenerationPolicy::Ask:               //ask if we can overwrite






More information about the umbrello-devel mailing list