Minor update to example

This commit is contained in:
Pranav Srinivas Kumar
2019-12-04 11:35:48 -06:00
parent 92d9ce2e1f
commit a0f3ba4cdc
2 changed files with 6 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ public:
_max_postfix_text_length = _postfix_text.length();
}
void show_percentage(bool flag) { _show_percentage = flag; }
void show_percentage() { _show_percentage = true; }
void hide_percentage() { _show_percentage = false; }