code: def on_lstHazardCategories_itemSelectionChanged(self):
          
          self.clear_further_steps()
          # Set widgets
          hazard_category = self.selected_hazard_category()
          # Exit if no selection
          if not hazard_category:
              return
          # Set description label
          self.lblDescribeHazardCategory.setText(hazard_category["description"])
          # Enable the next button
          self.parent.pbnNext.setEnabled(True)
docs: Update hazard category description label.
  
          .. note:: This is an automatic Qt slot
             executed when the category selection changes.