diff options
Diffstat (limited to 'src/slic3r/Config/Snapshot.cpp')
-rw-r--r-- | src/slic3r/Config/Snapshot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/Config/Snapshot.cpp b/src/slic3r/Config/Snapshot.cpp index 1e44dac7b..a0f386339 100644 --- a/src/slic3r/Config/Snapshot.cpp +++ b/src/slic3r/Config/Snapshot.cpp @@ -590,7 +590,7 @@ bool take_config_snapshot_cancel_on_error(const AppConfig &app_config, Snapshot: { try { const Snapshot *snapshot = &SnapshotDB::singleton().take_snapshot(app_config, reason, comment); - if (*psnapshot) + if (psnapshot) *psnapshot = snapshot; return true; } catch (std::exception &err) { |