]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Tue, 9 Feb 2016 15:32:55 +0000 (10:32 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Tue, 9 Feb 2016 15:32:55 +0000 (10:32 -0500)
lib/cpPipelineEditor/Editor.cxx

index 8388eddb123b3cbff209ed47542acab7ab7c67d4..8fb28bdbadb77045b9b18669b8d7927fba5bd153 100644 (file)
@@ -358,15 +358,11 @@ cpPipelineEditor_Editor_Callback_CODE( MouseDoubleClick )
           old_name.toStdString( ),\r
           new_name.toStdString( )\r
           );\r
-        if( ok )\r
-        {\r
-          block->setNamePort( new_name );\r
-          this->m_Workspace->RenameFilter(\r
-            old_name.toStdString( ),\r
-            new_name.toStdString( )\r
-            );\r
-\r
-        } // fi\r
+        block->setNamePort( new_name );\r
+        this->m_Workspace->RenameFilter(\r
+          old_name.toStdString( ),\r
+          new_name.toStdString( )\r
+          );\r
 \r
       } // fi\r
     }\r