Changeset edbd4b6 in sasview


Ignore:
Timestamp:
Dec 14, 2016 5:33:50 AM (8 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:
fca1f50
Parents:
c3b2327
Message:

Code review fixes

Location:
src/sas/qtgui
Files:
2 edited

Legend:

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

    r27313b7 redbd4b6  
    384384        orig_text = self.cbgraph.currentText() 
    385385        self.cbgraph.clear() 
    386         graph_titles = [] 
    387386        graph_titles= ["Graph"+str(graph) for graph in graph_list] 
    388387 
     
    391390        if ind > 0: 
    392391            self.cbgraph.setCurrentIndex(ind) 
    393         pass 
    394392 
    395393    def newPlot(self): 
  • src/sas/qtgui/WindowTitle.py

    r27313b7 redbd4b6  
     1""" 
     2Allows users to change the title of the current graph 
     3from "Graph_n" to any ASCII text. 
     4""" 
    15from PyQt4 import QtGui 
    2  
    3 import sas.sasview 
    46 
    57from sas.qtgui.UI.WindowTitleUI import Ui_WindowTitle 
     
    1315 
    1416    def title(self): 
     17        """ Return the new title """ 
    1518        return self.txtTitle.text() 
    1619 
Note: See TracChangeset for help on using the changeset viewer.