diff options
author | angela <angela@lindenlab.com> | 2009-11-04 12:33:52 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-11-04 12:33:52 +0800 |
commit | 61603ca9d55c76219093cb7000e7f75e539bf5fe (patch) | |
tree | b1528b99061758e0f7b8fdaaa8754c2169036d89 /indra/llui | |
parent | 1190b5d9eb6f1e1d698430957b99872abd354f81 (diff) | |
parent | 6e9fe077277b50634b125084f52da55fa8cb84d9 (diff) |
mergre
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llfloater.cpp | 6 | ||||
-rw-r--r-- | indra/llui/llfloater.h | 3 | ||||
-rw-r--r-- | indra/llui/llfloaterreg.cpp | 3 |
3 files changed, 2 insertions, 10 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 99aebbcb30..8c72b079ee 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -772,12 +772,6 @@ LLMultiFloater* LLFloater::getHost() return (LLMultiFloater*)mHostHandle.get(); } -void LLFloater::applySavedVariables() -{ - applyRectControl(); - applyDockState(); -} - void LLFloater::applyRectControl() { if (mRectControl.size() > 1) diff --git a/indra/llui/llfloater.h b/indra/llui/llfloater.h index 95c8dd84f6..ef0d06a58e 100644 --- a/indra/llui/llfloater.h +++ b/indra/llui/llfloater.h @@ -280,9 +280,6 @@ public: protected: void setRectControl(const std::string& rectname) { mRectControl = rectname; }; - - virtual void applySavedVariables(); - void applyRectControl(); void applyDockState(); void storeRectControl(); diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp index f8e07913fb..aca4dc56ee 100644 --- a/indra/llui/llfloaterreg.cpp +++ b/indra/llui/llfloaterreg.cpp @@ -134,7 +134,8 @@ LLFloater* LLFloaterReg::getInstance(const std::string& name, const LLSD& key) // Note: key should eventually be a non optional LLFloater arg; for now, set mKey to be safe res->mKey = key; res->setInstanceName(name); - res->applySavedVariables(); // Can't apply rect and dock state until setting instance name + res->applyRectControl(); // Can't apply rect control until setting instance name + res->applyDockState();//same... if (res->mAutoTile && !res->getHost() && index > 0) { const LLRect& cur_rect = res->getRect(); |