From: davila <> Date: Fri, 1 Jun 2012 08:39:52 +0000 (+0000) Subject: v1.1.0 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=bbtkGEditor.git;a=commitdiff_plain;h=ff3affe51d01d74c41f5e538d562e6087f3a9418 v1.1.0 - Bug: Add/Remove Colons --- diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx index 704ca1e..7eb3518 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx @@ -178,7 +178,6 @@ namespace bbtk std::string GBlackBoxModel::getValueInputPort(int pos) { std::string text = _inputs[pos]->getValue(); - addColons(text); return text; } diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx index def04b1..5e30721 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx @@ -146,6 +146,10 @@ namespace bbtk { //========================================================================= void GPortModel::setValue( std::string value ) { + + //Removing Colons JPRG + _parentBox->removeColons(value); + _value = value ; if ( _value == "" ) { _isValueSet = false ; @@ -158,7 +162,11 @@ namespace bbtk { //========================================================================= std::string GPortModel::getValue( ) { - return _value ; + //JPRG::Adding Colons + std::string text = _value; + _parentBox->addColons(text); + return text; + } //=========================================================================