mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
Check connection has been fixed
This commit is contained in:
parent
28c8ae66e1
commit
3975406487
@ -667,8 +667,10 @@ void DataSourceManager::addConnectionDesc(ConnectionDesc * connection)
|
||||
bool DataSourceManager::checkConnectionDesc(ConnectionDesc *connection)
|
||||
{
|
||||
if (connectConnection(connection)){
|
||||
if (connection->isInternal())
|
||||
if (connection->isInternal()){
|
||||
QSqlDatabase::removeDatabase(connection->name());
|
||||
if (designTime()) emit datasourcesChanged();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (connection->isInternal())
|
||||
|
Loading…
Reference in New Issue
Block a user