mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-18 21:40:46 +00:00
FileSelector: fix auto-complete to avoid modifying letter case of user-typed text (issue #247)
This commit is contained in:
parent
e777729928
commit
a2a4eaae91
@ -145,7 +145,7 @@ protected:
|
||||
|
||||
// Is the pattern (left_part) in the child_name's beginning?
|
||||
if (it2 == left_part.end()) {
|
||||
setText(child_name.c_str());
|
||||
setText(left_part + child_name.substr(left_part.size()));
|
||||
selectText(child_name.size(), left_part.size());
|
||||
clear_keybuf();
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user