code: def select_savename(self, original_filename):
          
          if self.edit_filetypes is None:
              self.edit_filetypes = get_edit_filetypes()
          if self.edit_filters is None:
              self.edit_filters = get_edit_filters()
  
          # Don't use filters on KDE to not make the dialog incredible
          # slow
          # Fixes issue 4156
          if is_kde_desktop() and not is_anaconda():
              filters = ''
              selectedfilter = ''
          else:
              filters = self.edit_filters
              selectedfilter = get_filter(self.edit_filetypes,
                                          osp.splitext(original_filename)[1])
  
          self.redirect_stdio.emit(False)
          filename, _selfilter = getsavefilename(self, _("Save file"),
                                      original_filename,
                                      filters=filters,
                                      selectedfilter=selectedfilter,
                                      options=QFileDialog.HideNameFilterDetails)
          self.redirect_stdio.emit(True)
          if filename:
              return osp.normpath(filename)
          return None
docs: Select a name to save a file.
  
          Args:
              original_filename: Used in the dialog to display the current file
                      path and name.
  
          Returns:
              Normalized path for the selected file name or None if no name was
              selected.