SourceForge: s2putty/s2putty: changeset 36:71fcbc5e1bcf
Fixed error with Enter button in toolbar default tip
authorristoavila
Thu Oct 22 16:00:07 2009 +0300 (2 months ago)
changeset 3671fcbc5e1bcf
parent 35 63978975808f
Fixed error with Enter button in toolbar
ui/s60v5/customtoolbar.cpp
     1.1 --- a/ui/s60v5/customtoolbar.cpp	Tue Oct 20 18:48:53 2009 +0300
     1.2 +++ b/ui/s60v5/customtoolbar.cpp	Thu Oct 22 16:00:07 2009 +0300
     1.3 @@ -54,7 +54,7 @@
     1.4  void CCustomToolBar::ConstructL (CTerminalContainer* aParent, TRect /*aRect*/, TTouchSettings *aTouchSettings) {
     1.5      iTouchSettings = aTouchSettings;
     1.6      
     1.7 -    iDefaultButtonsCount = CountDefaultButtons() -1;
     1.8 +    iDefaultButtonsCount = CountDefaultButtons();
     1.9          
    1.10      for ( int i = 0 ; i < iDefaultButtonsCount ;i++ ) {      
    1.11         TRect buttonInitialSize = TRect(TPoint(0,0),TSize(iTouchSettings->GetTbButtonWidth(), iTouchSettings->GetTbButtonHeigth()));