diff --git a/app/renderer/components/tabs/tabPage.js b/app/renderer/components/tabs/tabPage.js index 67da19df8f1..a0c0963fc7b 100644 --- a/app/renderer/components/tabs/tabPage.js +++ b/app/renderer/components/tabs/tabPage.js @@ -17,6 +17,7 @@ const dragTypes = require('../../../../js/constants/dragTypes') // Utils const cx = require('../../../../js/lib/classSet') const {onTabPageContextMenu} = require('../../../../js/contextMenus') +const {getCurrentWindowId} = require('../../currentWindow') const dndData = require('../../../../js/dndData') class TabPage extends ImmutableComponent { @@ -46,6 +47,9 @@ class TabPage extends ImmutableComponent { if (this.props.tabPageFrames.size === 0) { return } + + appActions.dataDropped(getCurrentWindowId()) + const moveToFrame = this.props.tabPageFrames.get(0) const sourceDragData = dndData.getDragData(e.dataTransfer, dragTypes.TAB) const sourceDragFromPageIndex = this.props.sourceDragFromPageIndex