Skip to content

Commit

Permalink
update(config): rename file use original name.
Browse files Browse the repository at this point in the history
  • Loading branch information
dengzii committed Jun 28, 2021
1 parent b18840b commit 1a6ed58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/dengzii/plugin/template/ui/FileDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private void initDialog() {

setTitle((isRefactor() ? "Refactor " : "New ") + (isDir ? "Directory" : "File"));
if (isRefactor()) {
tfName.setText(fileNode.getRealName());
tfName.setText(fileNode.getName());
}
tfName.addKeyListener(new KeyAdapter() {
@Override
Expand Down

0 comments on commit 1a6ed58

Please sign in to comment.