Changeset 1c206d9 in sasview


Ignore:
Timestamp:
Oct 29, 2017 8:17:03 AM (7 years ago)
Author:
gonzalezm
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:
df4af9b
Parents:
0be6b6b
Message:

Restore functionality of sum/multiply editor

File:
1 edited

Legend:

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

    r69363c7 r1c206d9  
    332332            msg = ("%s is not a valid Python name. Only alphanumeric \n" \ 
    333333                   "and underscore allowed" % self.name) 
    334  
     334         
    335335        #Now check if the name already exists 
    336336        if not self.overwrite_name and self.good_name: 
     
    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: 
Note: See TracChangeset for help on using the changeset viewer.