Showing 1 of 1 files from the diff.

@@ -117,13 +117,14 @@
Loading
117 117
        self.set_tooltip()
118 118
119 119
    def dispose(self):
120 -
        parent = self.control.GetParent()
121 -
        parent.Unbind(
122 -
            wx.EVT_TEXT_ENTER,
123 -
            handler=self.update_object,
124 -
            id=self.control.GetId(),
125 -
        )
126 -
        self.control.Unbind(wx.EVT_KILL_FOCUS, handler=self.update_object)
120 +
        if self.control is not None:   # just in-case
121 +
            parent = self.control.GetParent()
122 +
            parent.Unbind(
123 +
                wx.EVT_TEXT_ENTER,
124 +
                handler=self.update_object,
125 +
                id=self.control.GetId(),
126 +
            )
127 +
            self.control.Unbind(wx.EVT_KILL_FOCUS, handler=self.update_object)
127 128
        super().dispose()
128 129
129 130
    def update_object(self, event):
Files Coverage
traitsui 32.3%
Project Totals (269 files) 32.3%
2172.2
TRAVIS_OS_NAME=linux
j2bf82g59y2wacy2
ietj76buu76d0759
cddjp3af5ax8m8bv
hulutywt5ss1s8m7
2172.1
TRAVIS_OS_NAME=linux
2rxjijp3h0070vm8
v439yqq5i9or1nfe
eihmn66uduhb9gli
1
codecov:
2
  notify:
3
    require_ci_to_pass: yes
4

5
coverage:
6
  precision: 1
7
  round: up
8

9
  status:
10
    patch:
11
      default:
12
        only_pulls: yes
13

14
comment : off
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading