diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 187c8e0e60a..008250f3e75 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -78,7 +78,7 @@ void WatchTreeView::setModel(QAbstractItemModel *model) setRootIsDecorated(true); if (header()) { header()->setDefaultAlignment(Qt::AlignLeft); - if (m_type == ReturnType && m_type == TooltipType) + if (m_type == ReturnType || m_type == TooltipType) header()->hide(); }