Skip to content

Commit

Permalink
bugfix: text widget should clear previous rows when setting context
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Sep 11, 2024
1 parent a242e9f commit 648da83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/libguisan/src/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ namespace gcn

void Text::setContent(const std::string& content)
{
mRows.clear();
std::string::size_type pos, lastPos = 0;
int length;
do
Expand Down

0 comments on commit 648da83

Please sign in to comment.