diff --git a/panels/move.py b/panels/move.py index b7fa3b96..70b000cb 100644 --- a/panels/move.py +++ b/panels/move.py @@ -82,11 +82,11 @@ class Panel(ScreenPanel): grid.attach(self.buttons["y+"], 1, 0, 1, 1) grid.attach(self.buttons["y-"], 1, 1, 1, 1) if self._config.get_config()["main"].getboolean("invert_z", False): - grid.attach(self.buttons["z+"], 3, 1, 1, 1) - grid.attach(self.buttons["z-"], 3, 0, 1, 1) - else: grid.attach(self.buttons["z+"], 3, 0, 1, 1) grid.attach(self.buttons["z-"], 3, 1, 1, 1) + else: + grid.attach(self.buttons["z+"], 3, 1, 1, 1) + grid.attach(self.buttons["z-"], 3, 0, 1, 1) grid.attach(self.buttons["home"], 0, 0, 1, 1) grid.attach(self.buttons["motors_off"], 2, 0, 1, 1)