diff options
author | David Kocik <kocikdav@gmail.com> | 2019-12-16 19:15:27 +0300 |
---|---|---|
committer | David Kocik <kocikdav@gmail.com> | 2019-12-16 19:15:27 +0300 |
commit | a029e689d81fd099d0a129bf0cdacda2b4b67762 (patch) | |
tree | ecca20b4b427f9c4a7a7faeb738d522bf3fda50b /src/slic3r/GUI/RemovableDriveManager.hpp | |
parent | bfc9dda1f6bc9efa9e2616c98ba38c3b52f2ad3f (diff) |
verification of save path
Diffstat (limited to 'src/slic3r/GUI/RemovableDriveManager.hpp')
-rw-r--r-- | src/slic3r/GUI/RemovableDriveManager.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.hpp b/src/slic3r/GUI/RemovableDriveManager.hpp index feed62c06..2e9fc9f4e 100644 --- a/src/slic3r/GUI/RemovableDriveManager.hpp +++ b/src/slic3r/GUI/RemovableDriveManager.hpp @@ -49,6 +49,7 @@ public: void erase_callbacks(); // marks one of the eveices in vector as last used void set_last_save_path(const std::string &path); + void verify_last_save_path(); bool is_last_drive_removed(); // param as update() bool is_last_drive_removed_with_update(const long time = 0); @@ -70,10 +71,10 @@ private: size_t m_drives_count; long m_last_update; std::string m_last_save_path; + bool m_last_save_path_verified; std::string m_last_save_name; bool m_is_writing;//on device bool m_did_eject; - #if _WIN32 //registers for notifications by creating invisible window void register_window(); |