kde/gui: add Yes/No to templates menu
This commit is contained in:
parent
6b745aaad1
commit
48bd852594
|
|
@ -265,6 +265,9 @@ Item {
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
id: templateMenu
|
id: templateMenu
|
||||||
|
MenuItem { text: "Yes"; onTriggered: ollie.submit("Yes") }
|
||||||
|
MenuItem { text: "No"; onTriggered: ollie.submit("No") }
|
||||||
|
MenuSeparator {}
|
||||||
MenuItem { text: "Explain this"; onTriggered: promptInput.text = "Explain this:\n" }
|
MenuItem { text: "Explain this"; onTriggered: promptInput.text = "Explain this:\n" }
|
||||||
MenuItem { text: "Fix the bug"; onTriggered: promptInput.text = "Fix the bug in " }
|
MenuItem { text: "Fix the bug"; onTriggered: promptInput.text = "Fix the bug in " }
|
||||||
MenuItem { text: "Write tests"; onTriggered: promptInput.text = "Write tests for " }
|
MenuItem { text: "Write tests"; onTriggered: promptInput.text = "Write tests for " }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue