aboutsummaryrefslogtreecommitdiff
path: root/components/InputDialog.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/InputDialog.qml')
-rw-r--r--components/InputDialog.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/InputDialog.qml b/components/InputDialog.qml
index c5963f04..2a69e79f 100644
--- a/components/InputDialog.qml
+++ b/components/InputDialog.qml
@@ -45,14 +45,14 @@ Item {
signal accepted()
signal rejected()
- function open() {
+ function open(prepopulate) {
inactiveOverlay.visible = true
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.state = "essentials"
root.visible = true;
input.focus = true;
- input.text = "";
+ input.text = prepopulate ? prepopulate : "";
}
function close() {