forked from qt-creator/qt-creator
Debugger: Fix condition for hiding watcher's header
Introduced with 78513ecd.
Change-Id: I3549c65452feccc4807ee30bd3d47930b94f829e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -78,7 +78,7 @@ void WatchTreeView::setModel(QAbstractItemModel *model)
|
|||||||
setRootIsDecorated(true);
|
setRootIsDecorated(true);
|
||||||
if (header()) {
|
if (header()) {
|
||||||
header()->setDefaultAlignment(Qt::AlignLeft);
|
header()->setDefaultAlignment(Qt::AlignLeft);
|
||||||
if (m_type == ReturnType && m_type == TooltipType)
|
if (m_type == ReturnType || m_type == TooltipType)
|
||||||
header()->hide();
|
header()->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user