mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-01 03:39:48 +03:00
Crash on selection "use default connection" has been fixed
This commit is contained in:
@@ -723,7 +723,8 @@ void DataBrowser::addDatasource(SQLEditResult result)
|
||||
|
||||
void DataBrowser::activateItem(const QString& name, DataBrowserTree::NodeType type){
|
||||
QTreeWidgetItem* item = findByNameAndType(name, type);
|
||||
item->treeWidget()->setCurrentItem(item);
|
||||
if (item)
|
||||
item->treeWidget()->setCurrentItem(item);
|
||||
}
|
||||
|
||||
void DataBrowser::addConnectionDesc(ConnectionDesc *connection)
|
||||
|
Reference in New Issue
Block a user