diff options
Diffstat (limited to 'src/main/kotlin')
-rw-r--r-- | src/main/kotlin/com/raeids/stratus/gui/ChatShortcutEditGui.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/com/raeids/stratus/gui/ChatShortcutEditGui.kt b/src/main/kotlin/com/raeids/stratus/gui/ChatShortcutEditGui.kt index 351c07e..5a52ea3 100644 --- a/src/main/kotlin/com/raeids/stratus/gui/ChatShortcutEditGui.kt +++ b/src/main/kotlin/com/raeids/stratus/gui/ChatShortcutEditGui.kt @@ -51,7 +51,7 @@ class ChatShortcutEditGui(private var alias: String, private var command: String } ButtonComponent("Save") { alias = alias.substringAfter("/") - command = alias.substringAfter("/") + command = command.substringAfter("/") if (editing) { ChatShortcuts.removeShortcut(initialAlias) } @@ -86,4 +86,4 @@ class ChatShortcutEditGui(private var alias: String, private var command: String } childOf this@ChatShortcutConfirmGui.window } } -}
\ No newline at end of file +} |