| 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(); |