From 64c0c3427e26a4c03565bcde175149dbd67b8c48 Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Tue, 28 Jun 2016 23:58:40 -0500 Subject: [PATCH] ... --- lib/cpBaseQtApplication/Editor.cxx | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) 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 - */ } // ------------------------------------------------------------------------- -- 2.47.1