Changeset 2469df7 in sasview for src/sas/sasgui/perspectives/calculator/model_editor.py
- Timestamp:
- Nov 20, 2017 11:15:52 AM (7 years ago)
- 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:
- 0fc5a03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
r1c206d9 r2469df7 332 332 msg = ("%s is not a valid Python name. Only alphanumeric \n" \ 333 333 "and underscore allowed" % self.name) 334 334 335 335 #Now check if the name already exists 336 336 if not self.overwrite_name and self.good_name: … … 344 344 msg = "Name exists already." 345 345 346 if self.good_name == False:346 if not self.good_name: 347 347 self.name_tcl.SetBackgroundColour('pink') 348 348 info = 'Error'
Note: See TracChangeset
for help on using the changeset viewer.