Commits

Ada Young  committed d77b445

Oops, forgot to set title of the save file dialog

  • Participants
  • Parent commits 44fb2be

Comments (0)

Files changed (3)

 DBFile = world.GetVariable("dbpath")
 if not DBFile:
     while not (DBFile and len(DBFile) > 0):
-        DBFile = asksaveasfilename(defaultextension=".db", filetypes=[("SQLite3 database file", "*.db")])
+        DBFile = asksaveasfilename(defaultextension=".db", filetypes=[("SQLite3 database file", "*.db")], title="Specify the location of your new database.")
     world.SetVariable("dbpath", DBFile)
     world.SaveState
 

File messagedb.xml

 DBFile = world.GetVariable("dbpath")
 if not DBFile:
     while not (DBFile and len(DBFile) > 0):
-        DBFile = asksaveasfilename(defaultextension=".db", filetypes=[("SQLite3 database file", "*.db")])
+        DBFile = asksaveasfilename(defaultextension=".db", filetypes=[("SQLite3 database file", "*.db")], title="Specify the location of your new database.")
     world.SetVariable("dbpath", DBFile)
     world.SaveState
 
 DBFile = world.GetVariable("dbpath")
 if not DBFile:
     while not (DBFile and len(DBFile) > 0):
-        DBFile = asksaveasfilename(defaultextension=".db", filetypes=[("SQLite3 database file", "*.db")])
+        DBFile = asksaveasfilename(defaultextension=".db", filetypes=[("SQLite3 database file", "*.db")], title="Select a new file to save your database into.")
     world.SetVariable("dbpath", DBFile)
     world.SaveState