Skip to content

Commit a7fc80b

Browse files
committed
Allow configuration menu to save blank entries
1 parent 70c81e6 commit a7fc80b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ConfigDialog.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ class ConfigEditor(owner: JFrame, config: PythonConfig) extends JDialog(owner, "
6464
}
6565

6666
def save(): Unit = {
67-
if (python2TextField.getText.nonEmpty) config.python2 = python2TextField.getText
68-
if (python3TextField.getText.nonEmpty) config.python3 = python3TextField.getText
67+
config.python2 = python2TextField.getText
68+
config.python3 = python3TextField.getText
6969
}
7070
}
7171

0 commit comments

Comments
 (0)