Skip to content

Commit

Permalink
修复了删除监听房间时控件错位的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
FHChen0420 committed Mar 30, 2024
1 parent 9f5de50 commit f452b15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frame/danmu_spread.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def UnSelectRoom(self,event):
roomid=self.configs[slot][0].pop(index)
self.configs[slot][2].pop(index-1)
self.configs[slot][3].pop(index-1)
self.configs[slot][4].pop(index-1)
if self.configs[slot][1]:
self.websockets[roomid].ChangeRefCount(-1)
if self.configs[slot][0][0] is None and len(self.configs[slot][0])==1:
Expand Down Expand Up @@ -415,6 +416,9 @@ def __init__(self, parent, slot, index):
self.sldDelay.Bind(wx.EVT_SLIDER,self.OnDelayChange)
self.OnDelayChange(None)
wx.StaticText(panel,-1,"限定前缀",pos=(10,42))



wx.StaticText(panel,-1,"仅转发指定的前缀,留空则不进行限制\n如果想指定多个前缀,请使用分号或逗号进行分隔",pos=(10,65)).SetForegroundColour("grey")
speakers=self.configs[slot][2][index]
self.tcFilter=wx.TextCtrl(panel,-1,speakers,pos=(68,38),size=(210,27),style=wx.TE_PROCESS_ENTER)
Expand Down

0 comments on commit f452b15

Please sign in to comment.