Skip to content

Commit 0c09617

Browse files
committed
Activate "Seach Unit" field on clicking Add Unit in TaskForces window
1 parent c3ae693 commit 0c09617

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/TSMapEditor/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace TSMapEditor
44
{
55
public static class Constants
66
{
7-
public const string ReleaseVersion = "1.6.3";
7+
public const string ReleaseVersion = "1.6.4";
88

99
public static int CellSizeX = 48;
1010
public static int CellSizeY = 24;

src/TSMapEditor/UI/Windows/TaskforcesWindow.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ private void BtnAddUnit_LeftClick(object sender, System.EventArgs e)
254254

255255
EditTaskForce(editedTaskForce);
256256
lbUnitEntries.SelectedIndex = lbUnitEntries.Items.Count - 1;
257+
WindowManager.SelectedControl = tbSearchUnit;
257258
}
258259

259260
private void BtnCloneTaskForce_LeftClick(object sender, System.EventArgs e)

0 commit comments

Comments
 (0)