Skip to content

Commit

Permalink
Fix crash-worthy typo from porting effort.
Browse files Browse the repository at this point in the history
  • Loading branch information
philroberts committed Nov 29, 2014
1 parent 05612f8 commit 5877d5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyfpdb/fpdb.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -1117,14 +1117,14 @@ You can find the full license texts in agpl-3.0.txt, gpl-2.0.txt, gpl-3.0.txt an
defx, defy = 900, 720
sg = QApplication.primaryScreen().availableGeometry()
if sg.width() < defx:
defx = sx
defx = sg.width()
if sg.height() < defy:
defy = sy
defy = sg.height()
self.resize(defx, defy)

# create our Main Menu Bar
self.createMenuBar()

# create a tab bar
self.nb = QTabWidget()
self.setCentralWidget(self.nb)
Expand Down

0 comments on commit 5877d5f

Please sign in to comment.