def METHOD_NAME(self):
    """
    Saves the packet capture preferences.
    """
    new_settings = {"packet_capture_reader_command": self.uiCaptureReaderCommandLineEdit.text(),
                    "command_auto_start": self.uiAutoStartCheckBox.isChecked(),
                    "packet_capture_analyzer_command": self.uiCaptureAnalyzerCommandLineEdit.text()}
    LocalConfig.instance().saveSectionSettings("PacketCapture", new_settings)