Permalink
Browse files

Fix plot from disappearing when refreshing the view

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 c4109e6a10058c228940688d1fee38da0bab4c7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/MainWindow.cpp
@@ -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

0 comments on commit c4109e6

Please sign in to comment.