Commit f5abf67f authored by fallenstardust's avatar fallenstardust

lstLog防误触

parent 93c5688b
...@@ -1883,7 +1883,7 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) { ...@@ -1883,7 +1883,7 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
switch(id) { switch(id) {
case LISTBOX_LOG: { case LISTBOX_LOG: {
int sel = mainGame->lstLog->getSelected(); int sel = mainGame->lstLog->getSelected();
if(sel != -1 && (int)mainGame->logParam.size() >= sel && mainGame->logParam[sel]) { if(sel != -1 && (int)mainGame->logParam.size() >= sel && mainGame->logParam[sel] && is_selectable) {
mainGame->wInfos->setActiveTab(0); mainGame->wInfos->setActiveTab(0);
} }
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment