mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
erase callbacks
This commit is contained in:
parent
0f18e7e7ec
commit
118354ecf4
2 changed files with 5 additions and 0 deletions
|
@ -494,6 +494,10 @@ void RemovableDriveManager::add_callback(std::function<void()> callback)
|
|||
{
|
||||
m_callbacks.push_back(callback);
|
||||
}
|
||||
void RemovableDriveManager::erase_callbacks()
|
||||
{
|
||||
m_callbacks.clear();
|
||||
}
|
||||
void RemovableDriveManager::set_last_save_path(const std::string& path)
|
||||
{
|
||||
std::string last_drive = get_drive_from_path(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue