          -------
          bool
              ``True`` if the preview should be refreshed otherwise ``False``. """
          with self._lock:
              retval = self._refresh
              if retval:
                  logger.debug("Sending should refresh")
                  self._refresh = False
              return retval
  
 
</s> remove             retval = self._toggle_mask
 </s> add             retval = self._triggers["toggle_mask"] </s> remove                 self._refresh = False
 </s> add                 self._triggers["refresh"] = False </s> remove             retval = self._save
 </s> add             retval = self._triggers["save"] </s> remove             retval = self._quit
 </s> add             retval = self._triggers["quit"] </s> remove         returned then resets :attr:`_refresh` back to ``False``
 </s> add         returned then resets the refresh trigger back to ``False``
            retval = self._triggers["refresh"]
          -------
          bool
              ``True`` if the preview should be refreshed otherwise ``False``. """
          with self._lock:
            retval = self._triggers["refresh"]
              if retval:
                  logger.debug("Sending should refresh")
                  self._refresh = False
              return retval
  
keep keep keep keep replace keep keep keep keep keep
 bugfix: Update preview screen in GUI 
scripts/train.py