mirror of
https://github.com/fralx/LimeReport.git
synced 2025-03-31 14:43:43 +03:00
Crash on selection "use default connection" has been fixed
This commit is contained in:
parent
b105ba186c
commit
6a7180346c
@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
|||||||
|
|
||||||
LIMEREPORT_VERSION_MAJOR = 1
|
LIMEREPORT_VERSION_MAJOR = 1
|
||||||
LIMEREPORT_VERSION_MINOR = 5
|
LIMEREPORT_VERSION_MINOR = 5
|
||||||
LIMEREPORT_VERSION_RELEASE = 25
|
LIMEREPORT_VERSION_RELEASE = 26
|
||||||
|
|
||||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
||||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
||||||
|
@ -723,7 +723,8 @@ void DataBrowser::addDatasource(SQLEditResult result)
|
|||||||
|
|
||||||
void DataBrowser::activateItem(const QString& name, DataBrowserTree::NodeType type){
|
void DataBrowser::activateItem(const QString& name, DataBrowserTree::NodeType type){
|
||||||
QTreeWidgetItem* item = findByNameAndType(name, type);
|
QTreeWidgetItem* item = findByNameAndType(name, type);
|
||||||
item->treeWidget()->setCurrentItem(item);
|
if (item)
|
||||||
|
item->treeWidget()->setCurrentItem(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DataBrowser::addConnectionDesc(ConnectionDesc *connection)
|
void DataBrowser::addConnectionDesc(ConnectionDesc *connection)
|
||||||
|
Loading…
Reference in New Issue
Block a user