b4888d95731f4ad4cf69c156e3bed2c348bfdf0c,Orange/canvas/report/owreport.py,OWReport,_table_clicked,#OWReport#Any#,126
Before Change
self.report_html_template = open(index_file, "r").read()
def _table_clicked(self, index):
if index.column() == Column.item:
item = self.table_model.item(index.row())
self._scroll_to_item(item)
self._change_selected_item(item)
if index.column() == Column.remove:
self._remove_item(index.row())
if index.column() == Column.scheme:
self._show_scheme(index.row())
After Change
if index.column() == Column.remove:
self._remove_item(index.row())
indexes = self.table.selectionModel().selectedIndexes()
item = self.table_model.item(indexes[0].row()) if indexes else None
if index.column() == Column.scheme:
self._show_scheme(index.row())
if item:
self._scroll_to_item(item)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: biolab/orange3
Commit Name: b4888d95731f4ad4cf69c156e3bed2c348bfdf0c
Time: 2015-12-04
Author: tankovesna@hotmail.com
File Name: Orange/canvas/report/owreport.py
Class Name: OWReport
Method Name: _table_clicked
Project Name: biolab/orange3
Commit Name: 8a853048882723533bc57327b17cb2e2b80ba8c4
Time: 2019-04-05
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/utils/plot/owplotgui.py
Class Name: VariablesDelegate
Method Name: paint
Project Name: biolab/orange3
Commit Name: 91c53165bec08a48f2bf32130ccef03b8fc5fcee
Time: 2015-10-30
Author: tankovesna@hotmail.com
File Name: Orange/canvas/report/owreport.py
Class Name: OWReport
Method Name: _table_clicked