Commits

Steve Borho committed b68983e

qtlib: use 'Ok' button to close informational message dialogs

Comments (0)

Files changed (1)

tortoisehg/hgqt/qtlib.py

     assert name in _fontdefaults
     return _fontcache[name]
 
-def CommonMsgBox(icon, title, main, text='', buttons=QMessageBox.Close,
+def CommonMsgBox(icon, title, main, text='', buttons=QMessageBox.Ok,
                  labels=[], parent=None, defaultbutton=None):
     msg = QMessageBox(parent)
     msg.setIcon(icon)