Skip to content

Commit

Permalink
Fix drag-and-drop from "Open Tabs"
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-berry committed May 30, 2023
1 parent bf234d3 commit 943e6df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stash-list/window.vue
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,10 @@ export default defineComponent({
});
},
drag(ev: DragAction<Tab>) {
const items = ev.value.$selected
drag(ev: DragAction<FilteredChild<Tab>>) {
const items = ev.value.unfiltered.$selected
? Array.from(this.model().selectedItems())
: [ev.value];
: [ev.value.unfiltered];
ev.dataTransfer.setData(
"application/x-tab-stash-items",
JSON.stringify(items),
Expand Down

0 comments on commit 943e6df

Please sign in to comment.