diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llmenugl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/llui/llmenugl.cpp b/linden/indra/llui/llmenugl.cpp index 907777d..8411f41 100644 --- a/linden/indra/llui/llmenugl.cpp +++ b/linden/indra/llui/llmenugl.cpp | |||
@@ -1829,6 +1829,16 @@ void LLMenuGL::parseChildXML(LLXMLNodePtr child, LLView *parent, LLUICtrlFactory | |||
1829 | 1829 | ||
1830 | std::string shortcut; | 1830 | std::string shortcut; |
1831 | child->getAttributeString("shortcut", shortcut); | 1831 | child->getAttributeString("shortcut", shortcut); |
1832 | |||
1833 | #ifdef LL_LINUX | ||
1834 | // check for linux-specific shortcut | ||
1835 | std::string shortcut_linux; | ||
1836 | if (child->getAttributeString("shortcut_linux", shortcut_linux)) | ||
1837 | { | ||
1838 | shortcut = shortcut_linux; | ||
1839 | } | ||
1840 | #endif // LL_LINUX | ||
1841 | |||
1832 | if (shortcut.find("control") != shortcut.npos) | 1842 | if (shortcut.find("control") != shortcut.npos) |
1833 | { | 1843 | { |
1834 | #ifdef LL_DARWIN | 1844 | #ifdef LL_DARWIN |