Skip to content

Commit

Permalink
Fix folder buttons not disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
Avanatiker committed Mar 2, 2023
1 parent e9142e5 commit b60e697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ internal object MapDownloader : Module(
private val saveDelay by setting("Save delay", 0.2, 0.1..2.0, 0.1, unit = " s")
private val openImageFolder = setting("Open Image Folder...", false, consumer = { _, _ ->
FolderUtils.openFolder(FolderUtils.mapImagesFolder)
true
false
})
private val pendingHashes = mutableSetOf<String>()
private var existingHashes = mutableSetOf<String>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ object PacketLogger : Module(
private val ignoreTimeUpdates by setting("Ignore Time Updates", false, description = "Ignore time update packets.")
private val openLogFolder by setting("Open Log Folder...", false, consumer = { _, _ ->
FolderUtils.openFolder(FolderUtils.packetLogFolder)
true
false
})

private val fileTimeFormatter = DateTimeFormatter.ofPattern("HH-mm-ss_SSS")
Expand Down

0 comments on commit b60e697

Please sign in to comment.