Bugfix for disabling config button

This commit is contained in:
ceikry 2021-07-16 19:10:08 -05:00
parent 2b493a02fd
commit 248d31e8fd

View file

@ -50,10 +50,10 @@ object MainScreen : JFrame("RS09 Thanos Tool") {
if(response == JFileChooser.APPROVE_OPTION){
Logger.logInfo("Selected directory: ${dirChooser.selectedFile.absolutePath}")
EditorConstants.CONFIG_PATH = dirChooser.selectedFile.absolutePath
showLoaded()
if(loadedModel.rowCount > 0) {
selectDir.isEnabled = false
}
showLoaded()
}
}