forked from mirror/openmw-tes3mp
Update status bar when record filter is changed. Should resolve Bug #1290.
This commit is contained in:
parent
ae0fb77e30
commit
85596322f3
1 changed files with 4 additions and 2 deletions
|
@ -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…
Reference in a new issue