Skip to content

Commit 0936012

Browse files
committed
Implement #28 - Fill out prompt with current property value.
1 parent 6f0f361 commit 0936012

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "metaedit",
33
"name": "MetaEdit",
4-
"version": "1.6.15",
4+
"version": "1.6.16",
55
"minAppVersion": "0.12.0",
66
"description": "MetaEdit helps you manage your metadata.",
77
"author": "Christian B. B. Houmann",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metaedit",
3-
"version": "1.6.15",
3+
"version": "1.6.16",
44
"description": "MetaEdit helps you manage your metadata.",
55
"main": "main.js",
66
"scripts": {

src/metaController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default class MetaController {
205205
if (autoProp)
206206
newValue = autoProp;
207207
else
208-
newValue = await GenericPrompt.Prompt(this.app, `Enter a new value for ${property.key}`, property.content);
208+
newValue = await GenericPrompt.Prompt(this.app, `Enter a new value for ${property.key}`, property.content, property.content);
209209

210210
if (newValue) {
211211
await this.updatePropertyInFile(property, newValue, file);

versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"1.6.15": "0.12.0"
2+
"1.6.16": "0.12.0"
33
}

0 commit comments

Comments
 (0)