Skip to content
Merged
Prev Previous commit
Next Next commit
Add fix_scaling to pyshell
  • Loading branch information
csabella committed Apr 24, 2018
commit b2197e19c5cff223b7e358567b17da64192e504d
2 changes: 2 additions & 0 deletions Lib/idlelib/PyShell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,8 @@ def main():
# start editor and/or shell windows:
root = Tk(className="Idle")
root.withdraw()
from idlelib.run import fix_scaling
fix_scaling(root)

# set application icon
icondir = os.path.join(os.path.dirname(__file__), 'Icons')
Expand Down