Enable gradient when alias is cleared

This commit is contained in:
Scott Lahteine
2019-02-10 06:35:40 -06:00
parent 5cd0fa3ce1
commit 9737608f0a
2 changed files with 3 additions and 4 deletions

View File

@ -222,7 +222,7 @@ class Mixer {
// Refresh the gradient after a change
static void refresh_gradient() {
#if ENABLED(GRADIENT_VTOOL)
const bool is_grd = (selected_vtool == gradient.vtool_index);
const bool is_grd = (selected_vtool == gradient.vtool_index || gradient.vtool_index == -1);
#else
constexpr bool is_grd = true;
#endif