Skip to content

Commit

Permalink
refactor: Rearrange entries to improve readability somewhat
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Sep 20, 2023
1 parent 2e764cf commit 7e862ed
Show file tree
Hide file tree
Showing 6 changed files with 301 additions and 358 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class KeyComboManager(
if (event.id == KeyEvent.KEY_RELEASED) {
when {
event.keyCode == KeyEvent.VK_W && event.isControlDown -> {
configs.selectedEditor!!.editorTitle.close()
configs.selectedEditor!!.title.close()
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class MainPanel(
}
}
@Suppress("KotlinConstantConditions")
if (config.configFile != null && config.editorTitle.title != Gui.createserverpack_gui_title_new.toString()) {
if (config.configFile != null && config.title.title != Gui.createserverpack_gui_title_new.toString()) {
configs.add(config.configFile!!.absolutePath)
}
}
Expand Down
Loading

0 comments on commit 7e862ed

Please sign in to comment.