GRAPHICS: MACGUI: remove the selection after we set maxWidth in mactext
This commit is contained in:
parent
4c3630f648
commit
34972626d4
1 changed files with 3 additions and 0 deletions
|
@ -299,6 +299,9 @@ void MacText::setMaxWidth(int maxWidth) {
|
|||
}
|
||||
_cursorCol = ppos;
|
||||
|
||||
// after we set maxWidth, we reset the selection
|
||||
_selectedText.endY = -1;
|
||||
|
||||
recalcDims();
|
||||
updateCursorPos();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue