def METHOD_NAME(self):
    if self.currentExporter:
        E = self.currentExporter
        fn = QFileDialog.getOpenFileName(self,
                                         caption=self.tr("Set {} executable path.").format(E.cmd),
                                         directory=E.customPath)
        if fn[0]:
            self.updateAppPath(fn[0])