f90f104c5eaf23ec26e891eec928229ebb27ad85,Orange/widgets/data/owmergedata.py,OWMergeData,setDataB,#OWMergeData#Any#,109

Before Change


        self.setAttrs()
        self.closeContext()
        self.attr_b = next(iter(self.attrModelB), "")
        self.openContext(self.dataB)
        self.infoBoxDataB.setText(self.dataInfoText(data))

    def handleNewSignals(self):
        self._invalidate()

After Change


        if self.attr_b:
            curr_index = next((i for i, val in enumerate(self.attrModelB)
                               if str(val) == self.attr_b), -1)
        if curr_index != -1:
            self.attrViewB.setCurrentIndex(curr_index)
        else:
            self.attr_b = INDEX
        self.infoBoxDataB.setText(self.dataInfoText(data))

    def handleNewSignals(self):
        self._invalidate()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: biolab/orange3
Commit Name: f90f104c5eaf23ec26e891eec928229ebb27ad85
Time: 2016-07-29
Author: kerncece@gmail.com
File Name: Orange/widgets/data/owmergedata.py
Class Name: OWMergeData
Method Name: setDataB


Project Name: biolab/orange3
Commit Name: f3a6562cacb0b6b09082774e2cf74fe47630daa6
Time: 2020-04-17
Author: p.godec9@gmail.com
File Name: Orange/widgets/visualize/owpythagorastree.py
Class Name: OWPythagorasTree
Method Name: set_tree


Project Name: biolab/orange3
Commit Name: f90f104c5eaf23ec26e891eec928229ebb27ad85
Time: 2016-07-29
Author: kerncece@gmail.com
File Name: Orange/widgets/data/owmergedata.py
Class Name: OWMergeData
Method Name: setDataA