          self._dummy_master.destroy()
          del self._dummy_master
          self._dummy_master = None
  
      def _set_defaults(self):
          """ Set the default file type for the file dialog. Generally the first found file type
          will be used, but this is overridden if it is not appropriate.
  
          Returns
          -------
 
</s> remove         if platform.system().lower() != "linux":
 </s> add         if platform.system().lower() != "linux" or self._dummy_master is None: </s> remove     def _remove_dummy_master(self):
 </s> add     def _remove_dummy_master(self) -> None: </s> remove         defaults = {key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
                    for key, val in self._filetypes.items()}
 </s> add         defaults: Dict[str, Optional[str]] = {
            key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
            for key, val in self._filetypes.items()} </s> remove         variable: :class:`tkinter.StringVar`, optional
 </s> add         variable: str, optional </s> remove         variable: :class:`tkinter.StringVar`
 </s> add         variable: str
    def _set_defaults(self) -> Dict[str, Optional[str]]:
          self._dummy_master.destroy()
          del self._dummy_master
          self._dummy_master = None
  
    def _set_defaults(self) -> Dict[str, Optional[str]]:
          """ Set the default file type for the file dialog. Generally the first found file type
          will be used, but this is overridden if it is not appropriate.
  
          Returns
          -------
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py