[Uml-devel] KDE/kdesdk/umbrello/umbrello/dialogs

Sharan Rao sharanrao at gmail.com
Sun Jul 22 13:31:10 UTC 2007


SVN commit 690894 by sharan:

Prevent crash on calling code generation wizard when there're no classifiers in the model ( or the model is 
unsupported for code generation )


 M  +1 -4      codegenerationwizard.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/codegenerationwizard.cpp #690893:690894
@@ -77,10 +77,7 @@
            default:
                break;
         }
-
-        if ( !cList.isEmpty() ) {
-           classList = &cList;
-        }
+        classList = &cList;
     }
 
     for (UMLClassifier *c = classList->first(); c ; c = classList->next()) {




More information about the umbrello-devel mailing list