mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Disable copying folder to clipboard, as folder copying doesn't work
This commit is contained in:
parent
08169fcd15
commit
cd398af3b6
@ -585,7 +585,7 @@ string browseForFile (void) {
|
||||
getDirectoryContents (dirContents);
|
||||
}
|
||||
}
|
||||
} else if (strcmp(entry->name.c_str(), "..") != 0) {
|
||||
} else if ((strcmp(entry->name.c_str(), "..") != 0) && !entry->isDirectory) {
|
||||
snprintf(clipboard, sizeof(clipboard), "%s%s", path, entry->name.c_str());
|
||||
snprintf(clipboardFilename, sizeof(clipboardFilename), "%s", entry->name.c_str());
|
||||
clipboardOn = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user