mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
keybinds: fix sh, fix screenshot-window options, empty args
part of #914
This commit is contained in:
@@ -1273,6 +1273,7 @@ Item {
|
||||
spacing: Theme.spacingM
|
||||
|
||||
RowLayout {
|
||||
visible: optionsRow.argConfig?.base !== "screenshot-window"
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankToggle {
|
||||
@@ -1441,8 +1442,9 @@ Item {
|
||||
onTextChanged: {
|
||||
if (root._actionType !== "shell")
|
||||
return;
|
||||
var shell = Actions.getShellFromAction(root.editAction);
|
||||
root.updateEdit({
|
||||
"action": Actions.buildShellAction(KeybindsService.currentProvider, text)
|
||||
"action": Actions.buildShellAction(KeybindsService.currentProvider, text, shell)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user