mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-18 11:38:24 -05:00
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:
@@ -3825,6 +3825,8 @@ TableBrowserDock* MainWindow::newTableBrowserTab(const sqlb::ObjectIdentifier& t
|
||||
d->activateWindow();
|
||||
changeTableBrowserTab(d);
|
||||
|
||||
d->tableBrowser()->refresh();
|
||||
|
||||
return d;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user