Merge branch 'deltecent-rdlibrary'

This commit is contained in:
Fred Gleason 2019-02-19 15:17:59 -05:00
commit 740f448ed3
2 changed files with 6 additions and 1 deletions

View File

@ -18490,3 +18490,6 @@
2019-02-19 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'RDLIBRARY.INSTANCE' field from the database.
* Incremented the database version to 306.
2019-02-19 Patrick Linstruth <patrick@deltecent.com>
* Fixed a bug in rdlibrary(1) where double-clicking outside of
the list would cause a segfault.

View File

@ -1011,7 +1011,9 @@ void MainWidget::cartDoubleclickedData(Q3ListViewItem * item,const QPoint &,int)
// want (the current status), it will put it back to what we do want. There is probably
// a Qt way of doing this which should probably be addressed at a later date.
//
item->setOpen(!item->isOpen());
if(item!=NULL) {
item->setOpen(!item->isOpen());
}
}