     @IBOutlet weak var backuptype: NSComboBox!
     @IBOutlet weak var remotecapacitybutton: NSButton!
     @IBOutlet weak var addingtrailingbackslash: NSButton!
-
     @IBOutlet weak var stringlocalcatalog: NSTextField!
     @IBOutlet weak var stringremotecatalog: NSTextField!
-
 
     @IBAction func totinfo(_ sender: NSButton) {
         guard self.checkforrsync() == false else { return }

        self.viewParameter3.stringValue = self.compress
        self.viewParameter4.stringValue = self.delete
        self.viewParameter5.stringValue = self.eparam + " " + self.ssh
    }

    private func initcombox(combobox: NSComboBox, index: Int) {

        })
    }

    private func changelabels() {
        switch self.backuptype.indexOfSelectedItem {
        case 2:
            self.stringlocalcatalog.stringValue = NSLocalizedString("Source catalog:", comment: "Tooltip")
            self.stringremotecatalog.stringValue = NSLocalizedString("Destination catalog:", comment: "Tooltip")
        default:
            self.stringlocalcatalog.stringValue = NSLocalizedString("Local catalog:", comment: "Tooltip")
            self.stringremotecatalog.stringValue = NSLocalizedString("Remote catalog:", comment: "Tooltip")
        }
    }

    @IBAction func setbackuptype(_ sender: NSComboBox) {
        switch self.backuptype.indexOfSelectedItem {
        case 0:
            self.backuptypeselected = .synchronize
