Merge lp:~widelands-dev/widelands/bug-1699778-multilineeditbox-handle-key-enter into lp:widelands
Proposed by
Jukka Pakarinen
Status: | Merged |
---|---|
Merged at revision: | 8527 |
Proposed branch: | lp:~widelands-dev/widelands/bug-1699778-multilineeditbox-handle-key-enter |
Merge into: | lp:widelands |
Diff against target: |
10 lines (+1/-0) 1 file modified
src/ui_basic/multilineeditbox.cc (+1/-0) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1699778-multilineeditbox-handle-key-enter |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+334683@code.launchpad.net |
Commit message
Fix enter key handling in multilineeditbox. The cursor would remain in the old line after enter was pressed, now it's moving to the next line as expected.
Description of the change
The change in the branch fixes the bug 1699778. update() function sets the ww_valid flag off which means that multilineeditbox must be refreshed. Without the function call refresh will happen during a next call of some other key which sets the flag off.
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 2928. State: passed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 311413193. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ bug_1699778_ multilineeditbo x_handle_ key_enter- 2737.
Appveyor build 2737. State: success. Details: https:/