diff options
author | Richard Linden <none@none> | 2013-11-12 11:42:06 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2013-11-12 11:42:06 -0800 |
commit | 6ddfc8031c73f342cf8459445a20cd50ceb3efba (patch) | |
tree | 4a209fa66ac39930c089a1477a1f4eb2542ad5bb /indra/llui | |
parent | b6688529877e9f3a46d251c64c002fbe8fd8cbb6 (diff) |
BUILDFIX - miscellaneous stuff missed in the merge
Diffstat (limited to 'indra/llui')
-rwxr-xr-x | indra/llui/llmodaldialog.cpp | 2 | ||||
-rwxr-xr-x | indra/llui/llmultifloater.cpp | 13 | ||||
-rwxr-xr-x | indra/llui/llmultifloater.h | 2 |
3 files changed, 8 insertions, 9 deletions
diff --git a/indra/llui/llmodaldialog.cpp b/indra/llui/llmodaldialog.cpp index 47cdd098fa..d83028ec4a 100755 --- a/indra/llui/llmodaldialog.cpp +++ b/indra/llui/llmodaldialog.cpp @@ -195,7 +195,7 @@ BOOL LLModalDialog::handleHover(S32 x, S32 y, MASK mask) if( childrenHandleHover(x, y, mask) == NULL ) { getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS(LLERR_USER_INPUT) << "hover handled by " << getName() << LL_ENDL; + LL_DEBUGS("UserInput") << "hover handled by " << getName() << LL_ENDL; } LLView* popup_menu = LLMenuGL::sMenuContainer->getVisibleMenu(); diff --git a/indra/llui/llmultifloater.cpp b/indra/llui/llmultifloater.cpp index 48b5b08c1b..d1a597511e 100755 --- a/indra/llui/llmultifloater.cpp +++ b/indra/llui/llmultifloater.cpp @@ -67,14 +67,13 @@ void LLMultiFloater::buildTabContainer() } } -void LLMultiFloater::onOpen(const LLSD& key) +void LLMultiFloater::onClose(bool app_quitting) { -// if (mTabContainer->getTabCount() <= 0) -// { -// // for now, don't allow multifloaters -// // without any child floaters -// closeFloater(); -// } + if(isMinimized()) + { + setMinimized(FALSE); + } + LLFloater::onClose(app_quitting); } void LLMultiFloater::draw() diff --git a/indra/llui/llmultifloater.h b/indra/llui/llmultifloater.h index c1b1a357ed..c106a62527 100755 --- a/indra/llui/llmultifloater.h +++ b/indra/llui/llmultifloater.h @@ -44,7 +44,7 @@ public: void buildTabContainer(); virtual BOOL postBuild(); - /*virtual*/ void onOpen(const LLSD& key); + /*virtual*/ void onClose(bool app_quitting); virtual void draw(); virtual void setVisible(BOOL visible); /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask); |