Changeset 11073:6c257e7f43bd in orange


Ignore:
Timestamp:
01/10/13 12:31:27 (15 months ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

addon management dialog: make it repaint correctly on Macs (Ales' patch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/orngDlgs.py

    r11072 r11073  
    727727class AddOnManagerDialog(QDialog): 
    728728    def __init__(self, canvasDlg, *args): 
    729         apply(QDialog.__init__,(self,) + args) 
     729        QDialog.__init__(self, *args) 
     730        self.setModal(True) 
     731 
    730732        self.canvasDlg = canvasDlg 
    731733        self.setWindowTitle("Add-on Management") 
     
    890892        self.progress.setMaximum(max) 
    891893        self.progress.setValue(val) 
    892         self.progress.repaint() 
     894        qApp.processEvents(QEventLoop.ExcludeUserInputEvents) 
    893895 
    894896    def reloadRepo(self): 
Note: See TracChangeset for help on using the changeset viewer.