mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-23 08:29:07 +03:00
Check connection has been fixed
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user