Changeset ac0578c in sasview


Ignore:
Timestamp:
Apr 10, 2017 4:47:36 AM (8 years ago)
Author:
krzywon
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
88188b4
Parents:
7a80072
git-author:
Jeff Krzywon <krzywon@…> (04/10/17 04:47:36)
git-committer:
krzywon <krzywon@…> (04/10/17 04:47:36)
Message:

Data sent to fitting properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r9c0f3c17 rac0578c  
    252252        if not hasattr(self, "model_view"): 
    253253            return 
    254         toggle_mode_on = self.model_view.IsEnabled() 
     254        toggle_mode_on = self.model_view.IsEnabled() or self.data is None 
    255255        if toggle_mode_on: 
    256256            if self.enable2D and not check_data_validity(self.data): 
Note: See TracChangeset for help on using the changeset viewer.