(self, index)
Update the status bar on current tab change
Update the status bar on current tab change
Update the status bar on current tab change
def _on_current_tab_changed(self, index):
        """Update the status bar on current tab change"""
        view = self.tabs.widget(index)
        if view is not None and view.model() is not None:
            self._set_input_summary(view.input_slot)
            self.update_selection()
        else:
            self._set_input_summary(None)
def _on_current_tab_changed ( self , index ) : view = self . tabs . widget ( index ) if view is not None and view . model ( ) is not None : self . _set_input_summary ( view . input_slot ) self . update_selection ( ) else : self . _set_input_summary ( None )