mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Moving files works (via the clumsy dialog).
This commit is contained in:
@@ -190,11 +190,11 @@ public:
|
||||
|
||||
void moveFile(const Path& oldPath, const Path& newPath) override
|
||||
{
|
||||
mount();
|
||||
auto oldPathStr = oldPath.to_str();
|
||||
auto newPathStr = newPath.to_str();
|
||||
FRESULT res = f_rename(oldPathStr.c_str(), newPathStr.c_str());
|
||||
throwError(res);
|
||||
mount();
|
||||
auto oldPathStr = oldPath.to_str();
|
||||
auto newPathStr = newPath.to_str();
|
||||
FRESULT res = f_rename(oldPathStr.c_str(), newPathStr.c_str());
|
||||
throwError(res);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user