1
0
mirror of https://github.com/Melon-Bread/RetroUFO synced 2024-11-24 16:28:30 -05:00

The manual override UI controls work now

This commit is contained in:
Rain Clark 2019-03-04 01:35:52 -05:00
parent c361486d5c
commit 487df92020

View File

@ -112,9 +112,12 @@ class Form(QDialog):
""" Where the magic happens """
# If a platform and/or architecture is not supplied it is grabbed automatically
platform = self.get_platform() # TODO: rename this var to prevent conflict
architecture = self.get_architecture()
location = CORE_LOCATION[platform]
platform = self.cmbboxPlatform.currentText().lower() if not self.chkboxPlatformDetect.isChecked() \
else self.get_platform() # TODO: rename this var to prevent conflict
architecture = self.cmbboxArchitecture.currentText().lower() if not self.chkboxPlatformDetect.isChecked() \
else self.get_architecture()
location = self.leditCoreLocation.text() if not self.chkboxLocationDetect.isChecked() \
else CORE_LOCATION[platform]
self.download_cores(platform, architecture)
self.extract_cores(location)