Skip to content

Commit

Permalink
Fix handedness .eep filenames (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Apr 30, 2022
1 parent ecd8b95 commit 1e04e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion macos/QMK Toolbox/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ - (IBAction)clearEEPROMButtonClick:(id)sender {
- (IBAction)setHandednessButtonClick:(id)sender {
if ([self.mcuBox indexOfSelectedItem] >= 0) {
NSString *mcu = [self.mcuBox keyForSelectedItem];
NSString *file = [sender tag] == 0 ? @"left.eep" : @"right.eep";
NSString *file = [sender tag] == 0 ? @"reset_left.eep" : @"reset_right.eep";

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
dispatch_sync(dispatch_get_main_queue(), ^{
Expand Down
2 changes: 1 addition & 1 deletion windows/QMK Toolbox/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ private async void ClearEepromButton_Click(object sender, EventArgs e)
private async void SetHandednessButton_Click(object sender, EventArgs e)
{
string selectedMcu = (string)mcuBox.SelectedValue;
string file = sender == eepromLeftToolStripMenuItem ? "left.eep" : "right.eep";
string file = sender == eepromLeftToolStripMenuItem ? "reset_left.eep" : "reset_right.eep";

if (!windowState.AutoFlashEnabled)
{
Expand Down

0 comments on commit 1e04e73

Please sign in to comment.