diff --git a/voctogui/lib/toolbar/preview.py b/voctogui/lib/toolbar/preview.py index 4d7b1d22..7a050a24 100644 --- a/voctogui/lib/toolbar/preview.py +++ b/voctogui/lib/toolbar/preview.py @@ -165,10 +165,9 @@ def set_command(self, command, do_test=True): def on_best(self, best, targetA, targetB): c = self.command() - if (c.A, c.B) != (targetA, targetB) and (c.A, c.B) != (targetB, targetA): - c.A = targetA - c.B = targetB - self.set_command(c, False) + c.A = targetA + c.B = targetB + self.set_command(c, False) self.update_glow() def on_composite(self, command):