summaryrefslogtreecommitdiff
path: root/indra/newview/llscriptfloater.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-02-24 12:43:27 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-02-24 12:43:27 +0200
commitd7945e5d31f3cf8da0e21d417ad07459b12e8711 (patch)
tree3e382ecde462fa481fd590920a0d0168368b07d1 /indra/newview/llscriptfloater.cpp
parent1d45b1edcd3570b27622c0e99cf0bd5aee331cc1 (diff)
implemented EXT-4641 “[BSI] Undocked camera and movement floaters position should persist across the sessions”,
made move and camera floaters save dock state; --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llscriptfloater.cpp')
-rw-r--r--indra/newview/llscriptfloater.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llscriptfloater.cpp b/indra/newview/llscriptfloater.cpp
index a88a242fbe..32fd42aded 100644
--- a/indra/newview/llscriptfloater.cpp
+++ b/indra/newview/llscriptfloater.cpp
@@ -283,7 +283,9 @@ void LLScriptFloater::dockToChiclet(bool dock)
setSavePosition(false);
setDockControl(new LLDockControl(chiclet, this, getDockTongue(),
- LLDockControl::TOP, boost::bind(&LLScriptFloater::getAllowedRect, this, _1)), dock);
+ LLDockControl::TOP, boost::bind(&LLScriptFloater::getAllowedRect, this, _1)));
+
+ setDocked(dock);
// Restore saving
setSavePosition(save);