Skip to content

Commit

Permalink
Fixed a bug where the Generate button wasn't being activated after se…
Browse files Browse the repository at this point in the history
…lecting system type
  • Loading branch information
Pavo-IM committed Jan 25, 2021
1 parent 24385d8 commit c7c924e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions OC Gen-X.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.8.4;
MARKETING_VERSION = 2.8.5;
PRODUCT_BUNDLE_IDENTIFIER = "com.oc-gen-x.OC-Gen-X";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -615,7 +615,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.8.4;
MARKETING_VERSION = 2.8.5;
PRODUCT_BUNDLE_IDENTIFIER = "com.oc-gen-x.OC-Gen-X";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Binary file not shown.
3 changes: 1 addition & 2 deletions OC Gen-X/MainVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ class MainVC: NSViewController {
}

@IBAction func systemTypeChecked(_ sender: NSButton) {
generateButton.isEnabled = (sender.isEnabled == true)
}

@IBAction func brcmPatchRam3Clicked(_ sender: NSButton) {
Expand Down Expand Up @@ -538,8 +539,6 @@ class MainVC: NSViewController {
mlbInput.stringValue = mlbInput.placeholderString!
smuuidInput.placeholderString = uuid[0]
smuuidInput.stringValue = smuuidInput.placeholderString!

generateButton.isEnabled = (sender.isEnabled == true)
}

@IBAction func generateClicked(_ sender: NSButton) {
Expand Down

0 comments on commit c7c924e

Please sign in to comment.