[Igarden-commit] CommonSource/YAAFExtensions PictureSelectDialog.cpp, 1.13.2.5, 1.13.2.6
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-04-12 02:17:52
|
Update of /cvsroot/igarden/CommonSource/YAAFExtensions In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22572/YAAFExtensions Modified Files: Tag: Release_branch_v1 PictureSelectDialog.cpp Log Message: Handle disclosure view on PictureDialog in the read-only vcase. Index: PictureSelectDialog.cpp =================================================================== RCS file: /cvsroot/igarden/CommonSource/YAAFExtensions/PictureSelectDialog.cpp,v retrieving revision 1.13.2.5 retrieving revision 1.13.2.6 diff -C2 -d -r1.13.2.5 -r1.13.2.6 *** PictureSelectDialog.cpp 11 Apr 2008 10:25:58 -0000 1.13.2.5 --- PictureSelectDialog.cpp 12 Apr 2008 02:17:46 -0000 1.13.2.6 *************** *** 285,290 **** AssertValidView(expansion); expansion->ShowDisclosure(false, true); - triangle->HideView(); if(_writable) { --- 285,294 ---- AssertValidView(expansion); expansion->ShowDisclosure(false, true); + if(picture != NULL) + triangle->ShowView(); + else + triangle->HideView(); + if(_writable) { *************** *** 583,586 **** --- 587,591 ---- view = _dlog->FindViewByID(kPictureCommon); + view->ShowView(); if(_writable) view->EnableView(); *************** *** 591,594 **** --- 596,600 ---- { view = _dlog->FindViewByID(kPictureSupplier); + view->ShowView(); if(_writable) view->EnableView(); |