Skip to content

Commit

Permalink
fix: Use script name for tool filename
Browse files Browse the repository at this point in the history
  • Loading branch information
liferooter committed Dec 21, 2022
1 parent 8bc349a commit bbe8c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/preferences/pages/NewToolPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace TextPieces {
}

/* Generate script filename with salt */
var filename = Tool.generate_filename (name);
var filename = Tool.generate_filename (new_tool.name);

/* Get script file */
var script_file = File.new_build_filename (
Expand Down

0 comments on commit bbe8c0b

Please sign in to comment.