[root] / trunk / gui / gui / src / TGFileDialog.cxx Repository:
ViewVC logotype

Diff of /trunk/gui/gui/src/TGFileDialog.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 43376, Fri Mar 16 17:26:51 2012 UTC revision 43377, Mon Mar 19 08:19:55 2012 UTC
# Line 535  Line 535 
535                    if (fFc->NumSelected() > 0) {                    if (fFc->NumSelected() > 0) {
536                       if ( fFileInfo->fMultipleSelection == kFALSE ) {                       if ( fFileInfo->fMultipleSelection == kFALSE ) {
537                          TGLVEntry *e2 = (TGLVEntry *) fFc->GetNextSelected(&p);                          TGLVEntry *e2 = (TGLVEntry *) fFc->GetNextSelected(&p);
538                            if ((e2) && !R_ISDIR(((TGFileItem *)e2)->GetType())) {
539                          fTbfname->Clear();                          fTbfname->Clear();
540                          if ((e2) && (e2->GetItemName()))                             if (e2->GetItemName())
541                             fTbfname->AddText(0, e2->GetItemName()->GetString());                             fTbfname->AddText(0, e2->GetItemName()->GetString());
542                          fClient->NeedRedraw(fName);                          fClient->NeedRedraw(fName);
543                       }                       }
544                         }
545                       else {                       else {
546                          TString tmpString;                          TString tmpString;
547                          TList *tmp = fFc->GetSelectedItems();                          TList *tmp = fFc->GetSelectedItems();

Legend:
Removed from v.43376  
changed lines
  Added in v.43377

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9