Restore status bar calculations in Browse Data tab

This fixes a regression introduced in commit
3f0832f449 which lead to the calculation
of numbers like sum, average, and count in the status bar not being
displayed.
This commit is contained in:
Martin Kleusberg
2019-08-23 16:11:25 +02:00
parent d9fbdb4bfc
commit 1a0786c409

View File

@@ -158,6 +158,9 @@ void MainWindow::init()
connect(ui->tableBrowser, &TableBrowser::requestFileOpen, this, [this](const QString& file) {
fileOpen(file);
});
connect(ui->tableBrowser, &TableBrowser::statusMessageRequested, ui->statusbar, [this](const QString& message) {
ui->statusbar->showMessage(message);
});
m_currentTabTableModel = ui->tableBrowser->model();