mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 07:25:45 -04:00
append to the correct list (and now, I sleep)
This commit is contained in:
parent
554baa539c
commit
fb4ea24dc9
1 changed files with 5 additions and 5 deletions
|
@ -44,12 +44,12 @@ class HellowWorldGTK:
|
||||||
|
|
||||||
def rhs_callback(self, rhs):
|
def rhs_callback(self, rhs):
|
||||||
offs,col = rhs.get_cursor()
|
offs,col = rhs.get_cursor()
|
||||||
model = rhs.get_model()
|
rhs_model = rhs.get_model()
|
||||||
row = model[offs[0]][0]
|
row = rhs_model[offs[0]][0]
|
||||||
|
|
||||||
selected_patches = self.wTree.get_widget("selected_patches")
|
selected_patches = self.wTree.get_widget("selected_patches")
|
||||||
model.append(None, [ row ])
|
selected_patches_model = selected_patches.get_model()
|
||||||
print row
|
selected_patches_model.append(None, [ row ])
|
||||||
print type(model)
|
|
||||||
|
|
||||||
def set_texture(self, name):
|
def set_texture(self, name):
|
||||||
# parse the example texture, fetch the width,height;
|
# parse the example texture, fetch the width,height;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue