Changeset 13991957 in sasview


Ignore:
Timestamp:
Aug 24, 2017 7:51:22 AM (7 years ago)
Author:
lewis
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:
0f9ea1c
Parents:
62a6a78
Message:

Ensure plot colours are set correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/plottools/plottables.py

    r45dffa69 r13991957  
    246246                selected_color = self.plottables[p] 
    247247                break 
    248         if  selected_plottable is not None and selected_color is not None: 
     248        if selected_plottable is not None and selected_color is not None: 
    249249            del self.plottables[selected_plottable] 
     250            plottable.custom_color = selected_color 
    250251            self.plottables[plottable] = selected_color 
    251252 
Note: See TracChangeset for help on using the changeset viewer.