]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx
v1.1.0
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GPortModel.cxx
index def04b12c6405aaa1fa283a33fa21d045aa4fbae..5e307213c78ce2599e5a5b88bf38c9a1ad828528 100644 (file)
@@ -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;
+               
     }
 
     //=========================================================================