forked from Shinonome/dots-hyprland
search widget: fix wrong calculator result (#1424)
This commit is contained in:
@@ -90,7 +90,7 @@ Item { // Wrapper
|
|||||||
id: mathProcess
|
id: mathProcess
|
||||||
property list<string> baseCommand: ["qalc", "-t"]
|
property list<string> baseCommand: ["qalc", "-t"]
|
||||||
function calculateExpression(expression) {
|
function calculateExpression(expression) {
|
||||||
// mathProcess.running = false
|
mathProcess.running = false
|
||||||
mathProcess.command = baseCommand.concat(expression)
|
mathProcess.command = baseCommand.concat(expression)
|
||||||
mathProcess.running = true
|
mathProcess.running = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user