Skip to content

Commit

Permalink
ofxInputField: fix problem with external changes to the parameter won…
Browse files Browse the repository at this point in the history
…-t show
  • Loading branch information
arturoc committed May 24, 2017
1 parent eb79547 commit 150c98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/ofxGui/src/ofxInputField.cpp
Expand Up @@ -772,7 +772,7 @@ void ofxInputField<string>::parseInput(){
//-----------------------------------------------------------
template<typename Type>
void ofxInputField<Type>::valueChanged(Type & value){
input = toString(value);
visibleInput = input = toString(value);
if(bGuiActive){
moveCursor(ofUTF8Length(input));
}
Expand Down

0 comments on commit 150c98b

Please sign in to comment.