Refresh all new table browser tabs

MainWindow::newTableBrowserTab is only calling the new TableBrowser's
 refresh() method through the constructor, before it has its model set,
 and the browser therefore is still blank when the user first sees it.
 A manual refresh at the end seems to be one way to fix this.
This commit is contained in:
oldlaptop
2021-06-21 21:40:39 -04:00
parent 5097760fe6
commit 832ab35913
+2
View File
@@ -3825,6 +3825,8 @@ TableBrowserDock* MainWindow::newTableBrowserTab(const sqlb::ObjectIdentifier& t
d->activateWindow();
changeTableBrowserTab(d);
d->tableBrowser()->refresh();
return d;
}