Permalink
Browse files

Fixed BUG

  • Loading branch information...
1 parent 353d5dd commit a44e11281e204bde9a6057879e13a179b415a42d @mlopeza committed May 2, 2012
Showing with 3 additions and 9 deletions.
  1. BIN UI/UI
  2. +1 −3 UI/codigo.qc
  3. +2 −1 UI/diagramitem.cpp
  4. +0 −5 UI/out.qo
View
BIN UI/UI
Binary file not shown.
View
@@ -1,3 +1 @@
- main(){float a;
-a=10.1;
-print(a/2.2);}
+ main(){asllasdj}
View
@@ -12,7 +12,7 @@ DiagramItem::DiagramItem(DiagramType diagramType, QMenu *contextMenu,
{
myDiagramType = diagramType;
myContextMenu = contextMenu;
-
+ dialog = NULL;
//Se dibujan los poligonos a utilizar
QPainterPath path;
switch (myDiagramType) {
@@ -276,6 +276,7 @@ void DiagramItem::printSignature(QTextStream *out){
//Imprime de forma recursiva toda la informacion de la estructura
//Recibe como parametro el stream de salida
void DiagramItem::recursivePrint(QTextStream *out){
+ if(dialog != NULL)
switch(myDiagramType){
case While:
*out<<" while(";
View
@@ -1,10 +1,5 @@
;;
-18000,10.1
-18001,2.2
..
21,-1,-1,1
-13,18000,-1,6000
-3,6000,18001,23000
-20,23000,-1,-1
30,-1,-1,-1
--

0 comments on commit a44e112

Please sign in to comment.