Skip to content

Commit 8c5f4aa

Browse files
committed
Handheld form behavior
1 parent 6f86195 commit 8c5f4aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Settings.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@ public void HideAll()
10241024
if (extraForm != null && extraForm.Text != "") extraForm.Close();
10251025
if (updatesForm != null && updatesForm.Text != "") updatesForm.Close();
10261026
if (matrixForm != null && matrixForm.Text != "") matrixForm.Close();
1027+
if (handheldForm != null && handheldForm.Text != "") handheldForm.Close();
10271028
}
10281029

10291030
/// <summary>
@@ -1044,6 +1045,7 @@ public bool HasAnyFocus(bool lostFocusCheck = false)
10441045
(extraForm != null && extraForm.ContainsFocus) ||
10451046
(updatesForm != null && updatesForm.ContainsFocus) ||
10461047
(matrixForm != null && matrixForm.ContainsFocus) ||
1048+
(handheldForm != null && handheldForm.ContainsFocus) ||
10471049
this.ContainsFocus ||
10481050
(lostFocusCheck && Math.Abs(DateTimeOffset.Now.ToUnixTimeMilliseconds() - lastLostFocus) < 300);
10491051
}

0 commit comments

Comments
 (0)