Skip to content

Commit

Permalink
Fix "load text" menu working as "save text" menu
Browse files Browse the repository at this point in the history
  • Loading branch information
uaraven committed Nov 19, 2020
1 parent 7058689 commit 9f4a96a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
mainClassName = 'net.ninjacat.antlrscope.AppKt'

group 'net.ninjacat'
version '0.4.2'
version '0.4.3'

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/net/ninjacat/antlrscope/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class AntlrViewApp : Application() {
}
}

loadTextMenuItem.onAction = EventHandler {
saveTextMenuItem.onAction = EventHandler {
val fileChooser = FileChooser()
fileChooser.title = "Select text file"
val file = fileChooser.showSaveDialog(stage)
Expand Down

0 comments on commit 9f4a96a

Please sign in to comment.