]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Wed, 29 Jun 2016 04:58:40 +0000 (23:58 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Wed, 29 Jun 2016 04:58:40 +0000 (23:58 -0500)
lib/cpBaseQtApplication/Editor.cxx

index fb911c3862875e65ea093aa8e087e759b65095f3..f379f6416d0672e10bce9a12e49fc5b51f69eeb1 100644 (file)
@@ -369,7 +369,6 @@ cpBaseQtApplication_Editor_Callback_CODE( HoverMove )
 // -------------------------------------------------------------------------\r
 cpBaseQtApplication_Editor_Callback_CODE( MouseDoubleClick )\r
 {\r
-  /* TODO\r
   QGraphicsItem* item = this->itemAt( evt->scenePos( ) );\r
   if( item == NULL )\r
     return;\r
@@ -397,10 +396,6 @@ cpBaseQtApplication_Editor_Callback_CODE( MouseDoubleClick )
           );\r
       if( ok && !new_name.isEmpty( ) && old_name != new_name )\r
       {\r
-        ok = this->m_Graph->RenameVertex(\r
-          old_name.toStdString( ),\r
-          new_name.toStdString( )\r
-          );\r
         block->setNamePort( new_name );\r
         this->m_Workspace->RenameFilter(\r
           old_name.toStdString( ),\r
@@ -495,18 +490,17 @@ cpBaseQtApplication_Editor_Callback_CODE( MouseDoubleClick )
     } // fi\r
   }\r
   break;\r
-     case Qt::RightButton:\r
-     {\r
-     }\r
-     break;\r
-     case Qt::MiddleButton:\r
-     {\r
-     }\r
-     break;\r
+  case Qt::RightButton:\r
+  {\r
+  }\r
+  break;\r
+  case Qt::MiddleButton:\r
+  {\r
+  }\r
+  break;\r
   default:\r
     break;\r
   } // hctiws\r
-  */\r
 }\r
 \r
 // -------------------------------------------------------------------------\r