Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
jasonrohrer/OneLife@68a24d0
Description field in Object Editor automatically rewinds to start of field when a new object is loaded (it used to auto-position at the end of the text description).
  • Loading branch information
is52hertz committed Nov 25, 2023
1 parent a7972c1 commit a4f2e45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tool-1/Source/Chinese/EditorObjectPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2752,6 +2752,7 @@ void EditorObjectPage::actionPerformed( GUIComponent *inTarget ) {
mCurrentObject.id = objectID;

mDescriptionField.setText( pickedRecord->description );
mDescriptionField.cursorReset();

mMapChanceField.setFloat( pickedRecord->mapChance, 4 );

Expand Down

0 comments on commit a4f2e45

Please sign in to comment.