diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-10-09 19:34:55 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-10-09 19:34:55 +0300 |
commit | b964850141f3a749ff7551ebf871756a02d39085 (patch) | |
tree | 1396c792c7e85a00e7c8ffda8d8d8a82830479a4 /indra/llwindow | |
parent | 4543d5d5ccb6289b870e2c0c80b11f448c97f096 (diff) | |
parent | 12baf7587822bd6cd15885c45e973d0b7f9dceb4 (diff) |
Downstream merge from lindenlab/viewer-serval
Diffstat (limited to 'indra/llwindow')
-rw-r--r-- | indra/llwindow/llopenglview-objc.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm index d93c1b5b36..5b9dce02c4 100644 --- a/indra/llwindow/llopenglview-objc.mm +++ b/indra/llwindow/llopenglview-objc.mm @@ -816,7 +816,7 @@ attributedStringInfo getSegments(NSAttributedString *str) [super setMarkedText:aString selectedRange:selectedRange replacementRange:replacementRange]; if ([aString length] == 0) // this means Input Widow becomes empty { - [_window orderOut:_window]; // Close this to avoid empty Input Window + [self.window orderOut:self.window]; // Close this to avoid empty Input Window } } @@ -840,7 +840,7 @@ attributedStringInfo getSegments(NSAttributedString *str) (mKeyPressed >= 0xF700 && mKeyPressed <= 0xF8FF)) { // this is case a) of above comment - [_window orderOut:_window]; // to avoid empty Input Window + [self.window orderOut:self.window]; // to avoid empty Input Window } } |