| 532 | } |
| 533 | |
| 534 | void CFrmFileTransfer::slotTreeRemoteRefresh() |
| 535 | { |
| 536 | auto idx = ui->treeRemote->currentIndex(); |
| 537 | if(idx.isValid()) { |
| 538 | auto p = m_pModelRemoteDir->GetRemoteFileSystemFromIndex(idx); |
| 539 | if(p && !p->GetPath().isEmpty()) { |
| 540 | p->SetState(CRemoteFileSystem::State::No); |
| 541 | m_pModelRemoteDir->fetchMore(idx); |
| 542 | } |
| 543 | } |
| 544 | } |
| 545 | |
| 546 | void CFrmFileTransfer::slotTreeRemoteRename() |
| 547 | { |