Skip to content

Commit

Permalink
Fix plot from disappearing when refreshing the view
Browse files Browse the repository at this point in the history
The plot and all plot settings disappear when you click the Refresh
button in the Browse Data tab. This problem was introduced in the
multithreading patch.
  • Loading branch information
MKleusberg committed Aug 16, 2018
1 parent 06363f8 commit c4109e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void MainWindow::init()

connect(m_browseTableModel, &SqliteTableModel::finishedFetch, [this](){
auto & settings = browseTableSettings[currentlyBrowsedTableName()];
plotDock->updatePlot(m_browseTableModel, &settings, true, true);
plotDock->updatePlot(m_browseTableModel, &settings, true, false);
});

// Lambda function for keyboard shortcuts for selecting next/previous table in Browse Data tab
Expand Down

0 comments on commit c4109e6

Please sign in to comment.