hightlight table names in the sql edit window

This commit is contained in:
Peinthor Rene
2012-03-07 18:21:06 +01:00
parent cc82b47a77
commit ffebe2bb03

View File

@@ -970,6 +970,10 @@ void MainWindow::populateStructure()
return;
}
db.updateSchema();
QStringList tblnames = db.getTableNames();
sqliteHighlighter->setTableNames(tblnames);
// logWin->userSqliteHighlighter()->setTableNames(tblnames);
// logWin->appSqliteHighlighter()->setTableNames(tblnames);
tableMap::ConstIterator it;
for ( it = db.tbmap.begin(); it != db.tbmap.end(); ++it ) {