forked from qt-creator/qt-creator
ProjectExplorer: Fix restoring the issues pane warning button state
The wrong button function was called. This does not fully fix the linked problem for the default session, because there is the additional issue of TaskView::loadSettings() not getting called at all. Task-number: QTCREATORBUG-19388 Change-Id: I64dcec9c6d07c8ac614c9a2ecd783e7eaa1a204c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -427,7 +427,7 @@ void TaskWindow::loadSettings()
|
||||
if (value.isValid()) {
|
||||
bool includeWarnings = value.toBool();
|
||||
d->m_filter->setFilterIncludesWarnings(includeWarnings);
|
||||
d->m_filterWarningsButton->setDown(d->m_filter->filterIncludesWarnings());
|
||||
d->m_filterWarningsButton->setChecked(d->m_filter->filterIncludesWarnings());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user