Changeset 1f4d708 in sasview for src/sas


Ignore:
Timestamp:
Jan 31, 2018 9:40:30 AM (7 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, ticket885, unittest-saveload
Children:
b6b81a3
Parents:
72670ad2
Message:

Have the fall back use the same method as the main.

File:
1 edited

Legend:

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

    r72670ad2 r1f4d708  
    26792679            except ValueError: 
    26802680                pass  # Fall through to default class 
    2681         return POLYDISPERSITY_MODELS.keys().index('gaussian'), 'gaussian' 
     2681        return (list(POLYDISPERSITY_MODELS).index('gaussian'), 'gaussian') 
    26822682 
    26832683    def on_reset_clicked(self, event): 
Note: See TracChangeset for help on using the changeset viewer.