diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-21 17:39:13 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-21 17:39:13 +0100 |
commit | 2db71067f21f31ce19ef99a3f4b4404f24b2ad0d (patch) | |
tree | 5a6294e8beb8d9b50e973a962624bf47f234e045 /indra/llui/lllineeditor.h | |
parent | 3ed3cfce56e9d5c934db350f36ab13c51e3330c1 (diff) | |
parent | dc07de2f4a4c49d1877bf743b6f0d209392f6eb6 (diff) |
Merge 5.1.7
Diffstat (limited to 'indra/llui/lllineeditor.h')
-rw-r--r-- | indra/llui/lllineeditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lllineeditor.h b/indra/llui/lllineeditor.h index 88468503df..287837a15c 100644 --- a/indra/llui/lllineeditor.h +++ b/indra/llui/lllineeditor.h @@ -214,6 +214,7 @@ public: void setCommitOnFocusLost( BOOL b ) { mCommitOnFocusLost = b; } void setRevertOnEsc( BOOL b ) { mRevertOnEsc = b; } + void setKeystrokeOnEsc(BOOL b) { mKeystrokeOnEsc = b; } void setCursorColor(const LLColor4& c) { mCursorColor = c; } const LLColor4& getCursorColor() const { return mCursorColor.get(); } @@ -338,6 +339,7 @@ protected: BOOL mCommitOnFocusLost; BOOL mRevertOnEsc; + BOOL mKeystrokeOnEsc; keystroke_callback_t mKeystrokeCallback; |