summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Gui/CCReporterDialog.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index c801de3..f10388c 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -34,13 +34,18 @@ class ReporterDialog():
renderer = gtk.CellRendererText()
column = gtk.TreeViewColumn('Value', renderer, text=1, editable=2)
self.tvReport.append_column(column)
-
+ renderer.connect('edited',self.column_edited,self.reportListStore)
# connect the signals
self.wTree.get_widget("bApply").connect("clicked", self.on_apply_clicked, self.tvReport)
self.hydrate()
+ def column_edited(self, cell, path, new_text, model):
+ # 1 means the second cell
+ model[path][1] = new_text
+ return
+
def on_apply_clicked(self, button, treeview):
#print treeview
self.window.hide()