Changeset 0f3c22d in sasview for src/sas/qtgui/Plotter.py


Ignore:
Timestamp:
Jan 16, 2017 4:05:40 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
092a3d9
Parents:
239214f
Message:

Code review for SASVIEW-383

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotter.py

    r239214f r0f3c22d  
    438438        """ 
    439439        selected_plot = self.plot_dict[id] 
    440         current = selected_plot.hide_error 
    441440 
    442441        # Old style color - single integer for enum color 
     
    455454                                legend=legend) 
    456455        if plotPropertiesWidget.exec_() == QtGui.QDialog.Accepted: 
    457             marker = plotPropertiesWidget.marker() 
    458             marker_size = plotPropertiesWidget.markersize() 
    459             color = plotPropertiesWidget.color() 
    460             legend = plotPropertiesWidget.legend() 
    461  
    462456            # Update Data1d 
    463             selected_plot.markersize = marker_size 
    464             selected_plot.custom_color = color 
    465             selected_plot.symbol = marker 
    466             selected_plot.title = legend 
     457            selected_plot.markersize = plotPropertiesWidget.markersize() 
     458            selected_plot.custom_color = plotPropertiesWidget.color() 
     459            selected_plot.symbol = plotPropertiesWidget.marker() 
     460            selected_plot.title = plotPropertiesWidget.legend() 
    467461 
    468462            # Redraw the plot 
Note: See TracChangeset for help on using the changeset viewer.