Ignore:
Timestamp:
Aug 22, 2017 3:59:29 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
b2a5042
Parents:
457d961
Message:

Use singleton QApplication in unit tests to avoid issues on Ubuntu. SASVIEW-485

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/GenericScatteringCalculator.py

    • Property mode changed from 100755 to 100644
    r457d961 r464cd07  
    100100 
    101101        # plots - 3D in real space 
    102         self.trigger_plot_3d.connect(lambda: self.plot3d(has_arrow=False)) 
     102        plot3d = self.plot3d(has_arrow=False) 
     103        self.trigger_plot_3d.connect(plot3d) 
     104        #self.trigger_plot_3d.connect(lambda: self.plot3d(has_arrow=False)) 
    103105 
    104106        self.graph_num = 1  # index for name of graph 
Note: See TracChangeset for help on using the changeset viewer.