X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGPortModel.cxx;h=5e307213c78ce2599e5a5b88bf38c9a1ad828528;hb=ff3affe51d01d74c41f5e538d562e6087f3a9418;hp=def04b12c6405aaa1fa283a33fa21d045aa4fbae;hpb=713c6f1f54a2114c6e495aa6974d33b5718b46b5;p=bbtkGEditor.git 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; + } //=========================================================================