From 4f3e4f7f385fce0ce88157e3b6298b0c46766217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 6 Jun 2016 16:20:47 +0200 Subject: [PATCH] Force rescanning of available slicing profiles for slicer on update Should make newly uploaded profiles available in the slicing dialog without having to first deselect and then reselected the current slicer. --- src/octoprint/static/js/app/viewmodels/slicing.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/static/js/app/viewmodels/slicing.js b/src/octoprint/static/js/app/viewmodels/slicing.js index 63088973..fc0b9ce6 100644 --- a/src/octoprint/static/js/app/viewmodels/slicing.js +++ b/src/octoprint/static/js/app/viewmodels/slicing.js @@ -102,6 +102,7 @@ $(function() { if (selectedSlicer != undefined) { self.slicer(selectedSlicer); + self.profilesForSlicer(selectedSlicer); } self.defaultSlicer = selectedSlicer;