mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
FIX:add the sd card removal function
Change-Id: I98592a5d3d4abcfd3a67b8c12fa4cf07e79b0e4b
This commit is contained in:
parent
b9b3f7b4c1
commit
bf927f5adc
12 changed files with 74 additions and 56 deletions
|
@ -442,7 +442,14 @@ bool RemovableDriveManager::set_and_verify_last_save_path(const std::string &pat
|
|||
#ifndef REMOVABLE_DRIVE_MANAGER_OS_CALLBACKS
|
||||
this->update();
|
||||
#endif // REMOVABLE_DRIVE_MANAGER_OS_CALLBACKS
|
||||
|
||||
#ifdef __APPLE__
|
||||
m_last_save_path = path;
|
||||
#else
|
||||
m_last_save_path = this->get_removable_drive_from_path(path);
|
||||
#endif
|
||||
|
||||
|
||||
m_exporting_finished = false;
|
||||
return ! m_last_save_path.empty();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue