code: def focusInEvent(self, event):
          
          show_status = getattr(self.lineEdit(), 'show_status_icon', None)
          if show_status:
              show_status()
          QComboBox.focusInEvent(self, event)
docs: Handle focus in event restoring to display the status icon.