move: fix error in move function
This commit is contained in:
parent
8920516053
commit
4f929ba342
@ -118,7 +118,7 @@ class MovePanel(ScreenPanel):
|
||||
self.labels[str(i)].set_active(False)
|
||||
|
||||
def move(self, widget, axis, dir):
|
||||
if self._config.get_config().getboolean("main", "invert_%s" % axis.lower(), False):
|
||||
if self._config.get_config()['main'].getboolean("invert_%s" % axis.lower(), False):
|
||||
dir = "-" if dir == "+" else "+"
|
||||
|
||||
dist = str(self.distance) if dir == "+" else "-" + str(self.distance)
|
||||
|
Loading…
x
Reference in New Issue
Block a user