From 24da51209d06f109f09ec0e6acf43a1e92affccb Mon Sep 17 00:00:00 2001 From: 12637 <1263723738@qq.com> Date: Mon, 8 Mar 2021 22:43:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=A1=E7=89=87=E6=A7=BD?= =?UTF-8?q?=E5=8F=B3=E9=94=AE=E6=B7=BB=E5=8A=A0=E8=87=B3=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LiverSelect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LiverSelect.py b/LiverSelect.py index 50c4389..30a2243 100644 --- a/LiverSelect.py +++ b/LiverSelect.py @@ -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