6123e07013e5dce5368ec46cf256c60d3fabec38,framework/UI/FitnessView.py,FitnessView,Reinitialize,#FitnessView#Any#Any#Any#,51

Before Change


    
    // Try to apply a new layout, if one already exists then make sure to grab
    // it for updating
    self.setLayout(qtw.QVBoxLayout())
    layout = self.layout()
    self.clearLayout(layout)

    self.padding = 2

After Change


    
    // Try to apply a new layout, if one already exists then make sure to grab
    // it for updating
    if self.layout() is None:
      self.setLayout(qtw.QVBoxLayout())
    layout = self.layout()
    self.clearLayout(layout)

    self.padding = 2
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: idaholab/raven
Commit Name: 6123e07013e5dce5368ec46cf256c60d3fabec38
Time: 2017-08-17
Author: maljovec@users.noreply.github.com
File Name: framework/UI/FitnessView.py
Class Name: FitnessView
Method Name: Reinitialize


Project Name: idaholab/raven
Commit Name: 6123e07013e5dce5368ec46cf256c60d3fabec38
Time: 2017-08-17
Author: maljovec@users.noreply.github.com
File Name: framework/UI/SensitivityView.py
Class Name: SensitivityView
Method Name: Reinitialize


Project Name: idaholab/raven
Commit Name: 6123e07013e5dce5368ec46cf256c60d3fabec38
Time: 2017-08-17
Author: maljovec@users.noreply.github.com
File Name: framework/UI/ScatterView2D.py
Class Name: ScatterView2D
Method Name: Reinitialize


Project Name: idaholab/raven
Commit Name: 6123e07013e5dce5368ec46cf256c60d3fabec38
Time: 2017-08-17
Author: maljovec@users.noreply.github.com
File Name: framework/UI/ScatterView3D.py
Class Name: ScatterView3D
Method Name: Reinitialize


Project Name: idaholab/raven
Commit Name: 6123e07013e5dce5368ec46cf256c60d3fabec38
Time: 2017-08-17
Author: maljovec@users.noreply.github.com
File Name: framework/UI/TopologyMapView.py
Class Name: TopologyMapView
Method Name: Reinitialize