Ignore:
Timestamp:
Sep 6, 2018 9:13:35 AM (6 years ago)
Author:
krzywon
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
fa412df
Parents:
0cf4f84
Message:

Apply image handler to invariant report generation and fix issue with passed variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/invariant/invariant_panel.py

    r2469df7 rec4b19c  
    783783        report_img = self.state.image 
    784784        report_list = [report_html_str, report_text_str, report_img] 
    785         dialog = ReportDialog(report_list, None, -1, "") 
     785        imgRAM = self.state.img_handler 
     786        refs = [self.state.wximgbmp] 
     787        dialog = ReportDialog(report_list, imgRAM, refs, None, wx.ID_ANY, "") 
    786788        dialog.Show() 
    787789 
Note: See TracChangeset for help on using the changeset viewer.