mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-21 11:31:00 -06:00
When searching for a column by name make the search case insensitive
See issue #228.
This commit is contained in:
@@ -91,7 +91,7 @@ int Table::findField(const QString &sname)
|
||||
{
|
||||
for(int i = 0; i < m_fields.count(); ++i)
|
||||
{
|
||||
if(sname == m_fields.at(i)->name())
|
||||
if(m_fields.at(i)->name().compare(sname, Qt::CaseInsensitive) == 0)
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user