def refresh_export(self):
        versions = self.get_version_tuple()
        major_ver = versions[0]
        minor_ver = versions[1]

        mac = self.find_child_by_name('mac-x32')
        if (major_ver > 0 or minor_ver >= 13):
            if mac:
                mac.setEnabled(False)
        else:
            if mac:
                mac.setEnabled(True)
dataset/ETHPy150Open jyapayne/Web2Executable/main.py/MainWindow.refresh_export/original