6eb15b0fc04028567d054c0ceccc739fdd12d195,cellprofiler/gui/pipelinelistview.py,PipelineListView,__on_list_dclick,#PipelineListView#Any#,548

Before Change


            name = window_name(module)
            figure = self.__panel.TopLevelParent.FindWindowByName(name)
            if figure is not None:
                figure.Show(0)
                figure.Show(1)
                figure.SetFocus()
    
    def __on_pause_column_clicked(self, event):

After Change


            module = list_ctrl.items[item].module
            name = window_name(module)
            for w in wx.GetTopLevelWindows():
                if w.GetName() == name:
                    w.Raise()
                    w.SetFocus()
    
    def __on_pause_column_clicked(self, event):
        module = self.get_event_module(event)
        module.wants_pause = not module.wants_pause
        self.list_ctrl.Refresh(eraseBackground=False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 6eb15b0fc04028567d054c0ceccc739fdd12d195
Time: 2015-09-25
Author: leek@broadinstitute.org
File Name: cellprofiler/gui/pipelinelistview.py
Class Name: PipelineListView
Method Name: __on_list_dclick


Project Name: matplotlib/matplotlib
Commit Name: 5141f80e09d64110a72dc4e6cb9e467d153e9ad7
Time: 2017-07-23
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/backends/backend_gtk.py
Class Name:
Method Name:


Project Name: CellProfiler/CellProfiler
Commit Name: d9f49326e224b0a1cf39219784a46ac84d373053
Time: 2009-09-22
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/gui/directoryview.py
Class Name: DirectoryView
Method Name: __display_image