mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-16 08:34:12 +02:00
Fixed a bug in rdlibrary(1) where double-clicking outside of the list would cause a segfault.
This commit is contained in:
parent
26c9ff87c0
commit
05820fd19d
@ -18480,3 +18480,6 @@
|
||||
* Fixed a bug in the 'RDWaveFile' class that could prevent
|
||||
reading of an 'rdxl' tag in an ID3 tag generated by a pre-v3.x
|
||||
version of Rivendell.
|
||||
2019-02-14 Patrick Linstruth <patrick@deltecent.com>
|
||||
* Fixed a bug in rdlibrary(1) where double-clicking outside of
|
||||
the list would cause a segfault.
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user