From 97efeea3e19b85a7f708bc9bae537087e7f42106 Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Wed, 6 Mar 2019 00:30:31 -0500 Subject: [PATCH] Minor code clean-up --- RetroUFO_GUI.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/RetroUFO_GUI.py b/RetroUFO_GUI.py index 737b20b..2eabd58 100755 --- a/RetroUFO_GUI.py +++ b/RetroUFO_GUI.py @@ -207,13 +207,11 @@ class Form(QDialog): if not self.chkboxKeepDownload.isChecked(): self.clean_up() - # TODO: Lock (disable) the UI elements while grabbing cores - - platform = self.get_platform() + target_platform = self.get_platform() architecture = self.get_architecture() location = self.get_location() - self.grab = GrabThread(platform, architecture, location) + self.grab = GrabThread(target_platform, architecture, location) self.grab.add_to_log.connect(self.update_log) self.grab.lock.connect(self.lock_ui) self.grab.start()