Merge pull request #685 from MikeTheWatchGuy/Dev-latest

FindElementWithFocus support for Multiline Element
This commit is contained in:
MikeTheWatchGuy 2018-11-09 09:56:10 -05:00 committed by GitHub
commit 78f25dd49f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -3853,7 +3853,10 @@ def _FindElementWithFocusInSubForm(form):
if element.TKEntry is not None:
if element.TKEntry is element.TKEntry.focus_get():
return element
if element.Type == ELEM_TYPE_INPUT_MULTILINE:
if element.TKText is not None:
if element.TKText is element.TKText.focus_get():
return element
if sys.version_info[0] >= 3:
def AddMenuItem(top_menu, sub_menu_info, element, is_sub_menu=False, skip=False):