Skip to content

Commit

Permalink
修复卡片槽右键添加至播放窗口的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhimingshenjun committed Mar 8, 2021
1 parent 23a530e commit 24da512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LiverSelect.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,9 @@ def mousePressEvent(self, QMouseEvent): # 设置drag事件 发送拖动封面
elif action == copyRoomID:
clipboard = QApplication.clipboard()
clipboard.setText(self.roomID)
elif action == addTo:
else:
for index, i in enumerate(addWindow):
print(index, i)
if action == i:
self.addToWindow.emit([index, self.roomID]) # 添加至窗口 窗口 房号
break
Expand Down

0 comments on commit 24da512

Please sign in to comment.