From 6c3aae8f897df96e3899dcd0c55ff67ff28a7369 Mon Sep 17 00:00:00 2001
From: Enrico Turri <enricoturri@seznam.cz>
Date: Fri, 6 Sep 2019 15:10:07 +0200
Subject: [PATCH] Fixed update of instances in objects list after reload from
 disk

---
 src/slic3r/GUI/Plater.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp
index a7a09b50a..0f2ac417d 100644
--- a/src/slic3r/GUI/Plater.cpp
+++ b/src/slic3r/GUI/Plater.cpp
@@ -3113,6 +3113,8 @@ void Plater::priv::reload_from_disk()
             }
         }
 
+        sidebar->obj_list()->increase_object_instances(idx, object_orig->instances.size());
+
         // XXX: Restore more: layer_height_ranges, layer_height_profile (?)
     }