25 Apr
2012
25 Apr
'12
10:19 a.m.
Allow editing name and comment in import dialog. Feature #150
Nice, applied, thanks.
elif col == self.col_name or col == self.col_comm:
Just a comment... in cases like this, I like to do the following instead:
elif col in [self.col_name, self.col_comm]:
just because I think it's easier to read, it's shorter, and because it's easier to add another case if/when necessary.
No need to change, of course, as your way is perfectly fine, I just wanted to say that :)
--
Dan Smith
www.danplanet.com
KK7DS