mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
switching from slicer to gcode viewer - unlocking lock file
This commit is contained in:
parent
d33e97abb3
commit
453408143f
4 changed files with 24 additions and 1 deletions
|
@ -1718,6 +1718,7 @@ void GUI_App::OSXStoreOpenFiles(const wxArrayString &fileNames)
|
|||
// Opening PrusaSlicer by drag & dropping a G-Code onto PrusaSlicer icon in Finder,
|
||||
// just G-codes were passed. Switch to G-code viewer mode.
|
||||
m_app_mode = EAppMode::GCodeViewer;
|
||||
unlock_lockfile(get_instance_hash_string() + ".lock", data_dir() + "/cache/");
|
||||
if(app_config != nullptr)
|
||||
delete app_config;
|
||||
app_config = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue