| 108 | } |
| 109 | |
| 110 | void RedisDataUI::RefreshWnd() |
| 111 | { |
| 112 | DBClient* cli = Env()->GetDBClient(); |
| 113 | if (!cli) return; |
| 114 | if (m_iDBIdx != Env()->GetDBIdx()) |
| 115 | { |
| 116 | m_setUpdateDbs.clear(); |
| 117 | m_iDBIdx = Env()->GetDBIdx(); |
| 118 | } |
| 119 | |
| 120 | if (!m_setUpdateDbs.empty()) |
| 121 | { |
| 122 | return; |
| 123 | } |
| 124 | DelChildNode(m_pRootNode); |
| 125 | m_setUpdateDbs.clear(); |
| 126 | m_oKeyRoot.clear(); |
| 127 | |
| 128 | DoRefreshDBWork(); |
| 129 | } |
| 130 | |
| 131 | bool RedisDataUI::CanChange() |
| 132 | { |
nothing calls this directly
no test coverage detected