Skip to content

Commit

Permalink
Fix a UI problem on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
sjackso committed Jun 11, 2019
1 parent 6a4816c commit 72aab1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/athena/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ def enable3DControls( self ):
def toggleOutputControls( self, value ):
self.saveResultsBox.setEnabled( value )
self.showResultsBox.setEnabled( value )
# On Mac, the child widgets don't seem to be properly repainted
# unless we insist on it here
self.saveResultsBox.repaint()
self.showResultsBox.repaint()

def log( self, text ):
self.logWindow.appendText( text )
Expand Down

0 comments on commit 72aab1f

Please sign in to comment.