diff options
Diffstat (limited to 'modules/launcher/AppList.qml')
| -rw-r--r-- | modules/launcher/AppList.qml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml index 7f7b843..6217237 100644 --- a/modules/launcher/AppList.qml +++ b/modules/launcher/AppList.qml @@ -52,7 +52,7 @@ StyledListView { const text = search.text; const prefix = Config.launcher.actionPrefix; if (text.startsWith(prefix)) { - for (const action of ["calc", "scheme", "variant"]) + for (const action of ["calc", "python", "scheme", "variant"]) if (text.startsWith(`${prefix}${action} `)) return action; @@ -93,6 +93,14 @@ StyledListView { } }, State { + name: "python" + + PropertyChanges { + model.values: [0] + root.delegate: pythonItem + } + }, + State { name: "scheme" PropertyChanges { @@ -240,6 +248,14 @@ StyledListView { } Component { + id: pythonItem + + PythonItem { + list: root + } + } + + Component { id: schemeItem SchemeItem { |