From: Leonardo Florez-Valencia Date: Wed, 29 Jun 2016 04:58:40 +0000 (-0500) Subject: ... X-Git-Tag: v0.1~122 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=64c0c3427e26a4c03565bcde175149dbd67b8c48;p=cpPlugins.git ... --- diff --git a/lib/cpBaseQtApplication/Editor.cxx b/lib/cpBaseQtApplication/Editor.cxx index fb911c3..f379f64 100644 --- a/lib/cpBaseQtApplication/Editor.cxx +++ b/lib/cpBaseQtApplication/Editor.cxx @@ -369,7 +369,6 @@ cpBaseQtApplication_Editor_Callback_CODE( HoverMove ) // ------------------------------------------------------------------------- cpBaseQtApplication_Editor_Callback_CODE( MouseDoubleClick ) { - /* TODO QGraphicsItem* item = this->itemAt( evt->scenePos( ) ); if( item == NULL ) return; @@ -397,10 +396,6 @@ cpBaseQtApplication_Editor_Callback_CODE( MouseDoubleClick ) ); if( ok && !new_name.isEmpty( ) && old_name != new_name ) { - ok = this->m_Graph->RenameVertex( - old_name.toStdString( ), - new_name.toStdString( ) - ); block->setNamePort( new_name ); this->m_Workspace->RenameFilter( old_name.toStdString( ), @@ -495,18 +490,17 @@ cpBaseQtApplication_Editor_Callback_CODE( MouseDoubleClick ) } // fi } break; - case Qt::RightButton: - { - } - break; - case Qt::MiddleButton: - { - } - break; + case Qt::RightButton: + { + } + break; + case Qt::MiddleButton: + { + } + break; default: break; } // hctiws - */ } // -------------------------------------------------------------------------