Skip to content

Commit

Permalink
#5643: Scroll the text entry box to the last position, to show the ma…
Browse files Browse the repository at this point in the history
…p file name when picking an absolute map path.
  • Loading branch information
codereader committed Jun 24, 2021
1 parent 19ab4ed commit edaabe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/wxutil/PathEntry.cpp
Expand Up @@ -75,6 +75,7 @@ PathEntry::PathEntry(wxWindow* parent, bool foldersOnly, bool open,
void PathEntry::setValue(const std::string& val)
{
_entry->SetValue(val);
_entry->SetInsertionPointEnd();
}

std::string PathEntry::getValue() const
Expand Down

0 comments on commit edaabe8

Please sign in to comment.