Commit 06a7b5e7 authored by John Birch's avatar John Birch

fixed crash on right click in blank space on watch window

parent cb2a3a04
2001-03-21 jbb <jbb@kdevelop.org>
* Fixed: Crash when right click on empty space in watch window.
2001-03-06 jbb <jbb@kdevelop.org>
* Fixed: Dirs containing "++" would cause kimport to fail.
......
......@@ -144,6 +144,9 @@ void VarTree::slotRightButtonClicked( QListViewItem* selectedItem,
const QPoint &,
int)
{
if (!selectedItem)
return;
setSelected (selectedItem, true); // Need to select this item.
if (selectedItem->parent())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment