              return
          self._filename = cfgfile.name
          cfgfile.close()
  
          self._set_default_options()
          self._config.cli_opts.reset()
          self._save()
          self._update_root_title()
  
      def close(self, *args):  # pylint:disable=unused-argument
 
</s> remove         self._set_default_options()
 </s> add         self.set_default_options() </s> remove         self._set_default_options()
 </s> add         self.set_default_options() </s> remove         self._options = self._default_opts
 </s> add         logger.debug("Setting options to default")
        self._options = self._default_options </s> remove         self._default_opts = None
 </s> add 
        self.set_default_options()
              return
          self._filename = cfgfile.name
          cfgfile.close()
  
        self.set_default_options()
          self._config.cli_opts.reset()
          self._save()
          self._update_root_title()
  
      def close(self, *args):  # pylint:disable=unused-argument
keep keep keep keep replace keep keep keep keep keep
 bugfix: lib.gui - Remove last session file if user selects not to load 
lib/gui/project.py