Changeset 5967

Show
Ignore:
Timestamp:
08/31/2010 02:03:53 PM (1 year ago)
Author:
paul
Message:

Previewing and printing should be modeless by default. Fixed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/lib/reportUtils.py

    r5964 r5967  
    6262 
    6363            if viewer: 
    64                 subprocess.call((viewer, path)) 
    65  
     64                if modal: 
     65                    subprocess.call((viewer, path)) 
     66                else: 
     67                    subprocess.Popen((viewer, path)) 
    6668 
    6769 
     
    7274    except AttributeError: 
    7375        # startfile() only available on Windows 
    74         subprocess.call(("lpr", path)) 
     76        subprocess.Popen(("lpr", path)) 
    7577 
    7678