Update status bar when record filter is changed. Should resolve Bug #1290.

deque
cc9cii 10 years ago
parent ae0fb77e30
commit 85596322f3

@ -448,12 +448,12 @@ void CSVWorld::Table::tableSizeUpdate()
size = rows;
}
tableSizeChanged (size, deleted, modified);
emit tableSizeChanged (size, deleted, modified);
}
void CSVWorld::Table::selectionSizeUpdate()
{
selectionSizeChanged (selectionModel()->selectedRows().size());
emit selectionSizeChanged (selectionModel()->selectedRows().size());
}
void CSVWorld::Table::requestFocus (const std::string& id)
@ -467,6 +467,8 @@ void CSVWorld::Table::requestFocus (const std::string& id)
void CSVWorld::Table::recordFilterChanged (boost::shared_ptr<CSMFilter::Node> filter)
{
mProxyModel->setFilter (filter);
tableSizeUpdate();
selectionSizeUpdate();
}
void CSVWorld::Table::mouseMoveEvent (QMouseEvent* event)

Loading…
Cancel
Save