PISD - mkdir, remove, copy to/from remote
git-svn-id: svn://db.shs.com.ru/pip@89 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -18,6 +18,7 @@ PIStringList FileManager::TileDir::selectedNames() const {
|
||||
PIVector<int> sind = selected.toVector();
|
||||
piForeachC (int i, sind)
|
||||
ret << entries[i].name();
|
||||
ret.removeOne("..");
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -56,7 +57,9 @@ bool FileManager::TileDir::keyEvent(PIKbdListener::KeyEvent key) {
|
||||
return false;
|
||||
}
|
||||
setFocus();
|
||||
if (!remote) {
|
||||
if (remote) {
|
||||
actionRequest(remote, Remove, selectedNames());
|
||||
} else {
|
||||
removeFiles(dir, selectedNames());
|
||||
selected.clear();
|
||||
updateDir();
|
||||
|
||||
Reference in New Issue
Block a user