diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-07-17 18:05:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 18:05:10 +0300 |
commit | c37140dd89051317216bbf7a2cb08198c62535e0 (patch) | |
tree | c1f42bc327fcb90b312b307692fee1f6ca763e0b /indra/llui/lllineeditor.h | |
parent | 4c89ad558688f6dfa8f7216ad7613ed75823b069 (diff) |
SL-19995 FIXED The context menu is not fully displayed for the navigation bar
Diffstat (limited to 'indra/llui/lllineeditor.h')
-rw-r--r-- | indra/llui/lllineeditor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llui/lllineeditor.h b/indra/llui/lllineeditor.h index ae4e05c065..f983828d2b 100644 --- a/indra/llui/lllineeditor.h +++ b/indra/llui/lllineeditor.h @@ -286,7 +286,10 @@ public: void setBgImage(LLPointer<LLUIImage> image) { mBgImage = image; } void setBgImageFocused(LLPointer<LLUIImage> image) { mBgImageFocused = image; } -private: + void setShowContextMenu(bool show) { mShowContextMenu = show; } + bool getShowContextMenu() const { return mShowContextMenu; } + + private: // private helper methods void pasteHelper(bool is_primary); @@ -405,6 +408,8 @@ protected: LLHandle<LLContextMenu> mContextMenuHandle; + bool mShowContextMenu; + private: // Instances that by default point to the statics but can be overidden in XML. LLPointer<LLUIImage> mBgImage; |