2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 17:47:42 +00:00

Dynamic MessageWindow height

This commit is contained in:
Jack Andersen
2016-01-02 16:42:52 -10:00
parent 8dfafc81c2
commit 04a182d5bb
4 changed files with 10 additions and 4 deletions

View File

@@ -244,7 +244,11 @@ void Table::selectRow(size_t r)
Log.report(LogVisor::FatalError, "selectRow out of bounds (%" PRISize ", %" PRISize ")",
r, m_rows);
if (r == m_selectedRow)
{
if (m_state)
m_state->setSelectedRow(r);
return;
}
if (m_selectedRow != -1)
for (auto& col : m_cellViews)
{