Skip to content

Commit

Permalink
Bug with reading the wrong file on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
iangray001 committed Dec 16, 2023
1 parent 840328b commit 9dd143d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Quiz Server/Quiz Server/ControllerWindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class ControllerWindowController: NSWindowController, NSWindowDelegate, NSTabVie
uniqueFile.addItem(withTitle: file)
}
}
uniqueChooseFile(musicFile)
uniqueChooseFile(uniqueFile)
} catch {
print("Error while enumerating files \(uniquePath): \(error.localizedDescription)")
}
Expand Down
1 change: 0 additions & 1 deletion Quiz Server/Quiz Server/StartupView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import Cocoa
class StartupView: NSViewController {

@IBOutlet weak var screenSelector: NSPopUpButton!
@IBOutlet weak var serialSelector: NSPopUpButton!
@IBOutlet weak var startButton: NSButton!
@IBOutlet weak var testMode: NSButton!
@IBOutlet weak var geographyImagesPath: NSTextField!
Expand Down

0 comments on commit 9dd143d

Please sign in to comment.