Get filenames of downloaded files
This commit is contained in:
parent
1175424c23
commit
48156cb4bf
5 changed files with 77 additions and 6 deletions
|
|
@ -462,6 +462,7 @@ void DrawingProgram::update_downloading_dropped_files() {
|
|||
|
||||
ResourceData newResource;
|
||||
newResource.data = std::make_shared<std::string>(downFile.downData->str);
|
||||
newResource.name = downFile.downData->fileName;
|
||||
ServerClientID imageID = world.rMan.add_resource(newResource);
|
||||
ResourceDisplay* display = world.rMan.get_display_data(imageID);
|
||||
if(display->get_type() == ResourceDisplay::Type::FILE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue