Changeset 11175:0b3c92e4cb52 in orange


Ignore:
Timestamp:
11/07/12 13:00:40 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Ensure main window's layout can activate before blocking it with a modal dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/main.py

    r11174 r11175  
    203203 
    204204    if want_welcome and not args: 
     205        # Process events to make sure the canvas_window layout has 
     206        # a chance to activate (the welcome dialog is modal and will 
     207        # block the event queue) 
     208        app.processEvents() 
    205209        canvas_window.welcome_dialog() 
    206210 
Note: See TracChangeset for help on using the changeset viewer.