mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
eject button functionality
This commit is contained in:
parent
8f0eef8f36
commit
a01eec34f9
1 changed files with 3 additions and 1 deletions
|
@ -4709,7 +4709,9 @@ void Plater::export_gcode()
|
|||
fs::path path = into_path(dlg.GetPath());
|
||||
wxGetApp().app_config->update_last_output_dir(path.parent_path().string());
|
||||
output_path = std::move(path);
|
||||
RemovableDriveManager::get_instance().set_last_save_path(output_path.string());
|
||||
RemovableDriveManager::get_instance().update(0, true);
|
||||
RemovableDriveManager::get_instance().set_last_save_path(output_path.string());
|
||||
|
||||
}
|
||||
if (! output_path.empty())
|
||||
p->export_gcode(std::move(output_path), PrintHostJob());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue