Skip to content

Commit

Permalink
1、修正Option选择字体错误的问题
Browse files Browse the repository at this point in the history
2、修正List选择项没有清空的问题
  • Loading branch information
qdtroy committed Jun 28, 2018
1 parent 757a509 commit bcc9984
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DuiLib/Control/UIList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ namespace DuiLib {
{
m_iCurSel = -1;
m_iExpandedItem = -1;
m_aSelItems.Empty();
m_pList->RemoveAll();
}

Expand Down
2 changes: 1 addition & 1 deletion DuiLib/Control/UIOption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace DuiLib
{
IMPLEMENT_DUICONTROL(COptionUI)
COptionUI::COptionUI() : m_bSelected(false), m_dwSelectedTextColor(0), m_dwSelectedBkColor(0), m_nSelectedStateCount(0)
COptionUI::COptionUI() : m_bSelected(false) ,m_iSelectedFont(-1), m_dwSelectedTextColor(0), m_dwSelectedBkColor(0), m_nSelectedStateCount(0)
{
}

Expand Down

0 comments on commit bcc9984

Please sign in to comment.