Skip to content

Commit

Permalink
Change Button
Browse files Browse the repository at this point in the history
  • Loading branch information
miladbarooni committed Jan 21, 2020
1 parent 718c986 commit 168eb6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
Binary file modified __pycache__/snapFood.cpython-37.pyc
Binary file not shown.

0 comments on commit 168eb6c

Please sign in to comment.