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