From bbe8c0b3f3df0ba9e4896ca49b99a7aa583c42ac Mon Sep 17 00:00:00 2001 From: Gleb Smirnov Date: Wed, 21 Dec 2022 10:30:09 +0300 Subject: [PATCH] fix: Use script name for tool filename --- src/widgets/preferences/pages/NewToolPage.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/preferences/pages/NewToolPage.vala b/src/widgets/preferences/pages/NewToolPage.vala index 1cdeeb9..2c0fe0f 100644 --- a/src/widgets/preferences/pages/NewToolPage.vala +++ b/src/widgets/preferences/pages/NewToolPage.vala @@ -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 (