Skip to content

Commit

Permalink
StatisticsWindow: re-read possible attributes when switching corpus.
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldk committed Dec 18, 2014
1 parent 15f1c05 commit 30526d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/StatisticsWindow.cpp
Expand Up @@ -68,6 +68,7 @@ void StatisticsWindow::queryFailed(QString error)
void StatisticsWindow::switchCorpus(QSharedPointer<alpinocorpus::CorpusReader> corpusReader)
{
d_corpusReader = corpusReader;
readNodeAttributes();
emit saveStateChanged();

//d_xpathValidator->setCorpusReader(d_corpusReader);
Expand Down

0 comments on commit 30526d1

Please sign in to comment.