From c0834a7c4c535bfd7d45ff9bd94eec7a6a7e028d Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Sat, 28 Sep 2019 18:51:04 -0500 Subject: [PATCH] Xcode 11 compile fix. --- indra/llwindow/llopenglview-objc.mm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm index 7956bf38c9..bee2808c23 100644 --- a/indra/llwindow/llopenglview-objc.mm +++ b/indra/llwindow/llopenglview-objc.mm @@ -837,7 +837,9 @@ 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 + //[_window orderOut:_window]; // Close this to avoid empty Input Window + // Xcode 11 compile fix + [self.window orderOut:self.window]; // Close this to avoid empty Input Window } } @@ -861,7 +863,9 @@ attributedStringInfo getSegments(NSAttributedString *str) (mKeyPressed >= 0xF700 && mKeyPressed <= 0xF8FF)) { // this is case a) of above comment - [_window orderOut:_window]; // to avoid empty Input Window + // Xcode 11 compile fix + //[_window orderOut:_window]; // to avoid empty Input Window + [self.window orderOut:self.window]; // to avoid empty Input Window } }