Changeset a486918 in sasview


Ignore:
Timestamp:
Oct 4, 2018 3:26:00 AM (2 months ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Invariant, ESS_GUI_batch_fitting, ESS_GUI_ordering
Children:
37b34a3
Parents:
e258c53
Message:

Added missed q range display formatting

Location:
src/sas/qtgui
Files:
2 edited

Legend:

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

    ra80e182 ra486918  
    3232            import logging 
    3333            logging.error("Application failed with: "+str(ex)) 
    34             print("Application failed with: ", str(ex)) 
    3534 
    3635    def closeEvent(self, event): 
     
    3938        else: 
    4039            event.ignore() 
    41  
    4240 
    4341def SplashScreen(): 
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r34e5170 ra486918  
    20532053            self.q_range_min, self.q_range_max, self.npts = self.logic.computeDataRange() 
    20542054        # set Q range labels on the main tab 
    2055         self.lblMinRangeDef.setText(str(self.q_range_min)) 
    2056         self.lblMaxRangeDef.setText(str(self.q_range_max)) 
     2055        self.lblMinRangeDef.setText(GuiUtils.formatNumber(self.q_range_min, high=True)) 
     2056        self.lblMaxRangeDef.setText(GuiUtils.formatNumber(self.q_range_max, high=True)) 
    20572057        # set Q range labels on the options tab 
    20582058        self.options_widget.updateQRange(self.q_range_min, self.q_range_max, self.npts) 
Note: See TracChangeset for help on using the changeset viewer.