mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 16:27:13 +03:00
Two final s/getint/get_int/g instances.
Tested with firing up under debugger, switching to transparent theme, repeatedly mousing in and out, switching back to Dark theme.
This commit is contained in:
parent
84afe6821a
commit
ba91aa4733
@ -1536,7 +1536,7 @@ sys.path: {sys.path}'''
|
||||
config.set('plugins_not_py3_last', int(time()))
|
||||
|
||||
# UI Transparency
|
||||
ui_transparency = config.getint('ui_transparency')
|
||||
ui_transparency = config.get_int('ui_transparency')
|
||||
if ui_transparency == 0:
|
||||
ui_transparency = 100
|
||||
|
||||
|
2
prefs.py
2
prefs.py
@ -749,7 +749,7 @@ class PreferencesDialog(tk.Toplevel):
|
||||
padx=self.PADX, pady=self.PADY*2, sticky=tk.W, row=cur_row
|
||||
)
|
||||
self.transparency = tk.IntVar()
|
||||
self.transparency.set(config.getint('ui_transparency') or 100) # Default to 100 for users
|
||||
self.transparency.set(config.get_int('ui_transparency') or 100) # Default to 100 for users
|
||||
self.transparency_bar = tk.Scale(
|
||||
appearance_frame,
|
||||
variable=self.transparency, # type: ignore # Its accepted as an intvar
|
||||
|
Loading…
x
Reference in New Issue
Block a user