src/eric7/WebBrowser/WebBrowserTabBar.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
168 evt.setAccepted(True) 168 evt.setAccepted(True)
169 return True 169 return True
170 170
171 return super().event(evt) 171 return super().event(evt)
172 172
173 def tabRemoved(self, index): # noqa: U100 173 def tabRemoved(self, _index):
174 """ 174 """
175 Public slot to handle the removal of a tab. 175 Public slot to handle the removal of a tab.
176 176
177 @param index index of the removed tab 177 @param _index index of the removed tab (unused)
178 @type int 178 @type int
179 """ 179 """
180 if Preferences.getWebBrowser("ShowPreview"): 180 if Preferences.getWebBrowser("ShowPreview"):
181 self.__hidePreview() 181 self.__hidePreview()

eric ide

mercurial