Skip to content

Commit b8e6a6b

Browse files
committed
Public Chat Groups Fully Functional!!
1 parent 1933148 commit b8e6a6b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

LoginPageGUI.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ def PuGrp():
2828
sl2.destroy()
2929
sl3.destroy()
3030
sl4.destroy()
31-
def PuGrpChat():
31+
def PuGrpChat(Grpname):
3232
import PublicChatGUI
33-
PublicChatGUI.main(Gname, name)
33+
PublicChatGUI.main(Grpname, name)
3434
#===========================================================================================================================
3535
#===========================================================================================================================
3636
#===========================================================================================================================
@@ -53,7 +53,8 @@ def PuGrpChat():
5353
Gname = iterate["GName"]
5454
pgrp = Button(root1, text=iterate["GName"], bg=color["nero"], fg=color["orange"],
5555
font=('Malgun Gothic Semilight', 25, "bold"), width=500, height=100, bd=5,image=login,
56-
compound=LEFT, anchor="nw", command=PuGrpChat)
56+
compound=LEFT,
57+
anchor="nw", command=lambda Grpname=Gname: PuGrpChat(Grpname))
5758
if turn >= 3:
5859
m = 700
5960
else:
152 Bytes
Binary file not shown.
-49 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)