MAINT-8429 FIXED Screenshot opens on full screen of the viewer
parent
0b37538cd2
commit
cebef099cc
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue