InputText: Fixed a crash on deactivating a ReadOnly buffer. (#6570, #6292, #4714)

This will be part of 1.89.7 Tagged relase.
This commit is contained in:
ocornut
2023-07-04 16:20:51 +02:00
parent 40aac5875a
commit d4ddc46e77
3 changed files with 12 additions and 3 deletions

View File

@ -92,6 +92,7 @@ Other changes:
- CollapsingHeader/TreeNode: Fixed text padding when using _Framed+_Leaf flags. (#6549) [@BobbyAnguelov]
- InputText: Fixed not returning true when buffer is cleared while using the
ImGuiInputTextFlags_EscapeClearsAll flag. (#5688, #2620)
- InputText: Fixed a crash on deactivating a ReadOnly buffer. (#6570, #6292, #4714)
- InputText: ImGuiInputTextCallbackData::InsertChars() accept (NULL,NULL) range, in order to conform
to common idioms (e.g. passing .data(), .data() + .size() from a null string). (#6565, #6566, #3615)
- Combo: Made simple/legacy Combo() function not returns true when picking already selected item.