1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

[519] Fix Padding & Display Levels

This commit is contained in:
David Sangrey 2024-05-26 14:42:12 -04:00
parent ce45e5cd34
commit 778ccaeaaa
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC
2 changed files with 5 additions and 4 deletions

View File

@ -844,7 +844,7 @@ class AppWindow:
)
update_msg = update_msg.replace('\\n', '\n')
update_msg = update_msg.replace('\\r', '\r')
stable_popup = tk.messagebox.askyesno(title=title, message=update_msg)
stable_popup = tk.messagebox.askyesno(title=title, message=update_msg, parent=postargs.get('Parent'))
if stable_popup:
webbrowser.open("https://github.com/edCD/eDMarketConnector/releases/latest")

View File

@ -535,7 +535,7 @@ class PreferencesDialog(tk.Toplevel):
)
self.update_track.configure(width=15)
self.update_track.grid(column=1, pady=self.BOXY, sticky=tk.W, row=curr_row)
self.update_track.grid(column=1, pady=self.BOXY, padx=self.PADX, sticky=tk.W, row=curr_row)
self.disable_autoappupdatecheckingame = tk.IntVar(value=config.get_int('disable_autoappupdatecheckingame'))
self.disable_autoappupdatecheckingame_btn = nb.Checkbutton(
@ -1262,8 +1262,9 @@ class PreferencesDialog(tk.Toplevel):
# Send to the Post Config if we updated the update branch
post_flags = {
'Update': True if self.curr_update_track != self.update_paths.get() else False,
'Track': self.update_paths.get()
}
'Track': self.update_paths.get(),
'Parent': self
}
# Notify
if self.callback:
self.callback(**post_flags)