diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2018-04-03 18:52:09 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2018-04-03 18:52:09 +0300 |
commit | cebef099cc75f2d80e148db3512d2fa90aef109f (patch) | |
tree | 752b318880c044d8707c66913694588eea37609b | |
parent | 0b37538cd2a9157b4ba067f1f85ed86ca3a202fc (diff) |
MAINT-8429 FIXED Screenshot opens on full screen of the viewer
-rw-r--r-- | indra/newview/llfloatersnapshot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp index 25e3d74ebc..156b2ba7b1 100644 --- a/indra/newview/llfloatersnapshot.cpp +++ b/indra/newview/llfloatersnapshot.cpp @@ -1100,6 +1100,7 @@ void LLFloaterSnapshot::onOpen(const LLSD& key) if(preview) { LL_DEBUGS() << "opened, updating snapshot" << LL_ENDL; + preview->setAllowFullScreenPreview(TRUE); preview->updateSnapshot(TRUE); } focusFirstItem(FALSE); @@ -1129,6 +1130,7 @@ void LLFloaterSnapshotBase::onClose(bool app_quitting) LLSnapshotLivePreview* previewp = getPreviewView(); if (previewp) { + previewp->setAllowFullScreenPreview(FALSE); previewp->setVisible(FALSE); previewp->setEnabled(FALSE); } |