mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Show confirmation when deleting via keybind (#4387)
This commit is contained in:
@@ -147,7 +147,7 @@ const StudioPage: React.FC<IProps> = ({ studio, tabKey }) => {
|
||||
useEffect(() => {
|
||||
Mousetrap.bind("e", () => toggleEditing());
|
||||
Mousetrap.bind("d d", () => {
|
||||
onDelete();
|
||||
setIsDeleteAlertOpen(true);
|
||||
});
|
||||
Mousetrap.bind(",", () => setCollapsed(!collapsed));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user