Skip to content

Commit

Permalink
Changed name for screen_shape variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Dec 2, 2016
1 parent 41cf604 commit 0060c93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spyder/app/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1324,9 +1324,9 @@ def load_window_settings(self, prefix, default=False, section='main'):
# with the current screen. See issue 3748
width = pos[0]
height = pos[1]
screenShape = QApplication.desktop().geometry()
current_width = screenShape.width()
current_height = screenShape.height()
screen_shape = QApplication.desktop().geometry()
current_width = screen_shape.width()
current_height = screen_shape.height()
if current_width < width or current_height < height:
pos = CONF.get_default(section, prefix+'position')

Expand Down

0 comments on commit 0060c93

Please sign in to comment.