mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
callback only for used device
This commit is contained in:
parent
66f203379c
commit
6396ec571a
2 changed files with 2 additions and 2 deletions
|
@ -479,7 +479,7 @@ void RemovableDriveManager::check_and_notify()
|
|||
if(m_drives_count != m_current_drives.size())
|
||||
{
|
||||
//std::cout<<" vs "<< m_current_drives.size();
|
||||
if(m_drives_count > m_current_drives.size())
|
||||
if(m_drives_count > m_current_drives.size() && m_last_save_path != "" && !is_drive_mounted(m_last_save_path))
|
||||
{
|
||||
for (auto it = m_callbacks.begin(); it != m_callbacks.end(); ++it)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue