Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Oct 19, 2018
1 parent 1d19d13 commit 5484ee8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion pyforms_gui/controls/control_treeview.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def selected_item(self):
for index in self.selectedIndexes():
res = []
while index.isValid():
print( index.data() )
res.append( index.data() )
index = index.parent()
return list(reversed(res))
Expand Down
1 change: 1 addition & 0 deletions pyforms_gui/dialogs/generic_csv_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from pyforms_gui.allcontrols import ControlFile
from pyforms_gui.allcontrols import ControlList
from pyforms_gui.allcontrols import ControlNumber
from pyforms_gui.allcontrols import ControlCombo


class GenericCsvParserDialog(BaseWidget):
Expand Down
2 changes: 0 additions & 2 deletions tutorials/Controls4Docs/ControlEventsGraph_Simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ def __btn(self):
self._control.add_event( s, s+o, track=random.randint(0,4) )
self._control.value = s+o

print('Add event', s, s+o)

self._control.repaint()
#self._control.value = 5013

Expand Down

0 comments on commit 5484ee8

Please sign in to comment.