Changeset 128


Ignore:
Timestamp:
08/12/07 17:16:38 (5 years ago)
Author:
guyru
Message:

clear sub total score if the user disables this option via the settings menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/OpenYahtzee/src/MainFrame.cpp

    r127 r128  
    564564                m_settings.calculate_subtotal = false; 
    565565        } 
     566        ((wxTextCtrl*) FindWindow(ID_UPPERSECTIONTOTAL)) -> SetValue(wxT("")); 
     567        ((wxTextCtrl*) FindWindow(ID_LOWERTOTAL)) -> SetValue(wxT("")); 
     568        CalculateSubTotal(); 
    566569 
    567570        if (data.score_hints){ 
Note: See TracChangeset for help on using the changeset viewer.