Explorar o código

Save the label file before exiting query mode, in case something changed

Stefan Schmidt %!s(int64=6) %!d(string=hai) anos
pai
achega
a45be9bd71
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      code/Core/Controller.py

+ 3 - 0
code/Core/Controller.py

@@ -346,6 +346,9 @@ class Controller:
         readline.set_history_length(1000)
         readline.write_history_file(history_file)
 
+        # Save the label file, in case content has changed
+        self.label_manager.write_label_file(self.pcap_src_path)
+
     def create_statistics_plot(self, params: str, entropy: bool):
         """
         Plots the statistics to a file by using the given customization parameters.