mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9735
This commit is contained in:
parent
6d0c553aed
commit
d79290984d
|
@ -3295,3 +3295,11 @@ Rom 26 Mar 2006
|
|||
clientgui/
|
||||
BOINCGUIApp.cpp
|
||||
MainDocument.cpp, .h
|
||||
|
||||
Rom 27 Mar 2006
|
||||
- Bug Fix: When choosing a default value for something, use a value that
|
||||
connot be confused with valid data otherwise you might overwrite valid
|
||||
default values setup during object creation.
|
||||
|
||||
clientgui/
|
||||
BOINCListCtrl.cpp
|
||||
|
|
|
@ -122,11 +122,15 @@ bool CBOINCListCtrl::OnRestoreState(wxConfigBase* pConfig) {
|
|||
|
||||
pConfig->SetPath(strBaseConfigLocation + liColumnInfo.GetText());
|
||||
|
||||
pConfig->Read(wxT("Width"), &iTempValue, 80);
|
||||
liColumnInfo.SetWidth(iTempValue);
|
||||
pConfig->Read(wxT("Width"), &iTempValue, -1);
|
||||
if (-1 != iTempValue) {
|
||||
liColumnInfo.SetWidth(iTempValue);
|
||||
}
|
||||
|
||||
pConfig->Read(wxT("Format"), &iTempValue, 0);
|
||||
liColumnInfo.SetAlign((wxListColumnFormat)iTempValue);
|
||||
pConfig->Read(wxT("Format"), &iTempValue, -1);
|
||||
if (-1 != iTempValue) {
|
||||
liColumnInfo.SetAlign((wxListColumnFormat)iTempValue);
|
||||
}
|
||||
|
||||
SetColumn(iIndex, liColumnInfo);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue