Disabled line editors for non-editable data in texture preview floater

Ansariel 2012-11-22 18:10:54 +01:00
parent 82d87d33af
commit 16206de42f
1 changed files with 7 additions and 0 deletions

View File

@ -149,6 +149,13 @@ BOOL LLPreviewTexture::postBuild()
getChild<LLButton>("openprofile")->setClickedCallback(boost::bind(&LLPreviewTexture::onButtonClickProfile, this));
// </FS:Techwolf Lupindo>
// <FS:Ansariel> Need to disable line editors from code or the floater would
// be dragged around if trying to mark text
getChild<LLLineEditor>("uploader")->setEnabled(FALSE);
getChild<LLLineEditor>("upload_time")->setEnabled(FALSE);
getChild<LLLineEditor>("uuid")->setEnabled(FALSE);
// </FS:Ansariel>
return LLPreview::postBuild();
}