From 168eb6cd072ebdc37e316f1d465d3d9b37f37829 Mon Sep 17 00:00:00 2001 From: Milad Barooni Date: Tue, 21 Jan 2020 23:53:37 +0330 Subject: [PATCH] Change Button --- Main.py | 6 +++++- __pycache__/snapFood.cpython-37.pyc | Bin 2566 -> 2606 bytes 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Main.py b/Main.py index 62868db..96e8362 100644 --- a/Main.py +++ b/Main.py @@ -194,7 +194,11 @@ def profilePage(self): Label(self.profile, text="You Password:").pack() password_entry = Entry(self.profile) password_entry.pack() - password_entry.insert(END, user_information[0][4]) + password_entry.insert(END, user_information[0][5]) + # Change button + Button(self.profile,text="Change my information", height="2", width="30", command=mydb.updateUserProfile + (user_information[0][0], firstname_entry.get(), lastname_entry.get() + ,email_address_entry.get(), phone_number_entry.get(),password_entry.get))).pack() def restaurantsPage(self): print ("resturantsPage") diff --git a/__pycache__/snapFood.cpython-37.pyc b/__pycache__/snapFood.cpython-37.pyc index 99ccec13d9d9f952fed35733756d17c6f7c89bf0..65b5fbd40a0b009f464fe1506f8c0c5c60bae71b 100644 GIT binary patch delta 393 zcmXxe&r1S96bJB`-TASrZg|)Xp`y@?ps0gF(WM{v3hWk`#R#UPG3p_CVIb7Cntx#Z z2Z9bo|4Gm(=v042Zo*!)$PjA()ZanyOzlyPd{bXK;Dm&~@`BO46>J;?A!qFL*kGv!DN_r}3t9HfC&u zrXtI$dsu)&e@TmS$7 delta 353 zcmXYr%Sr<=6o!+TTxL3*E@W&eSP^NJf-r)m(4ChDaM3PY=_ZA07eZ1IC88n-E=0?D zff;aJ=+-x};sf{!t~?of;Qt8UpA#}mo|E`6j!Oh*(B3|!)A(lE2Er$b)vjFx$~@FxWUp1biQSU8!eqg$1E?L zUAh1rx8#CkRE3#m@g0kIEX{dNDZz%9Gm#TYRH;we5&W