Ignore:
Timestamp:
Nov 28, 2017 7:56:33 AM (7 years ago)
Author:
GitHub <noreply@…>
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, 19b5c886, fb7c816, 814ee32
Parents:
45bfe3f1 (diff), c926a97 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Paul Kienzle <pkienzle@…> (11/28/17 07:56:33)
git-committer:
GitHub <noreply@…> (11/28/17 07:56:33)
Message:

Merge pull request #126 from SasView?/ticket-776-orientation

a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/calculator/model_editor.py

    r69363c7 r2469df7  
    338338            list_fnames = os.listdir(self.plugin_dir) 
    339339            # fake existing regular model name list 
    340             m_list = [model.name + ".py" for model in self.model_list] 
     340            m_list = [model + ".py" for model in self.model_list] 
    341341            list_fnames.append(m_list) 
    342342            if t_fname in list_fnames and title != mname: 
     
    344344                msg = "Name exists already." 
    345345 
    346         if self.good_name == False: 
     346        if not self.good_name: 
    347347            self.name_tcl.SetBackgroundColour('pink') 
    348348            info = 'Error' 
Note: See TracChangeset for help on using the changeset viewer.