mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 18:27:59 -05:00
callback only for used device
This commit is contained in:
1 parent
822ffa6c86
commit
0f18e7e7ec
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user