fix open with bug

This commit is contained in:
lxsang 2021-03-31 11:02:46 +02:00
parent ebfa49254e
commit 78f09934d2
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -336,13 +336,14 @@ namespace OS {
} }
const list = apps.map((e) => ({ const list = apps.map((e) => ({
text: e.name, text: e.name,
app: e.app,
icon: e.icon, icon: e.icon,
iconclass: e.iconclass, iconclass: e.iconclass,
})); }));
openDialog("SelectionDialog", { openDialog("SelectionDialog", {
title: __("Open with"), title: __("Open with"),
data: list, data: list,
}).then((d) => launch(d.text, [it])); }).then((d) => launch(d.app, [it]));
} }
/** /**