A littlebit more pythonic.
This commit is contained in:
parent
c954614544
commit
9bc6f601a1
@ -2172,9 +2172,9 @@ class ChannelOrderTab(PropTab):
|
||||
self.setLayout(layout)
|
||||
|
||||
def getValues(self):
|
||||
values = {"Channel Z [up/down, default=3]": self.ChannelOrderZEdit.text(),
|
||||
"Channel N [north/south, default=1]": self.ChannelOrderNEdit.text(),
|
||||
"Channel E [east/west, default=2]": self.ChannelOrderEEdit.text()}
|
||||
values = {"Channel Z [up/down, default=3]": int(self.ChannelOrderZEdit.text()),
|
||||
"Channel N [north/south, default=1]": int(self.ChannelOrderNEdit.text()),
|
||||
"Channel E [east/west, default=2]": int(self.ChannelOrderEEdit.text())}
|
||||
return values
|
||||
|
||||
def resetValues(self, infile=None):
|
||||
|
Loading…
Reference in New Issue
Block a user