From c9b6f3779891d92246ea805f59730d06f89a3a1a Mon Sep 17 00:00:00 2001
From: mattminder <myfiles@Mattus-MacBook-Pro.local>
Date: Tue, 12 May 2020 10:06:33 +0200
Subject: [PATCH] Update entire plots, not just images after CNN

---
 GUI_main.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/GUI_main.py b/GUI_main.py
index d394eb8..4ad4499 100644
--- a/GUI_main.py
+++ b/GUI_main.py
@@ -814,10 +814,7 @@ class App(QMainWindow):
                             temp_mask = self.reader.LoadSeg(t, dlg.listfov.row(item))
                             self.reader.SaveMask(t,dlg.listfov.row(item), temp_mask)
             
-            self.ReloadThreeMasks()
-               
-            #once it has iterated over all the fov, the message in 
-            #the status bar is cleared and the buttons are enabled.
+            self.m.UpdatePlots()
             self.ClearStatusBar()
             self.EnableCNNButtons()
    
@@ -1691,7 +1688,7 @@ class App(QMainWindow):
         self.button_exval.setEnabled(False)
         self.button_changecellvalue.setEnabled(False)
         self.button_showval.setEnabled(False)
-    
+
     
     def ButtonSaveMask(self):
         """
-- 
GitLab