Tighten the ListColors add task
svn: r155
This commit is contained in:
parent
2ab0ed773c
commit
24da1a6d67
@ -59,3 +59,14 @@ class ColorList:
|
||||
def add_with_data(self,list,data):
|
||||
self.add(list)
|
||||
self.clist.set_row_data(self.index-1,data)
|
||||
|
||||
def set_enable(val):
|
||||
global enable
|
||||
|
||||
if color_ok:
|
||||
enable = val
|
||||
else:
|
||||
enable = 0
|
||||
|
||||
def get_enable():
|
||||
return enable
|
||||
|
Loading…
Reference in New Issue
Block a user