forked from qt-creator/qt-creator
ClangFormat: Fix showing the warning text
The call to show() was lost at some point, let's restore it. Change-Id: I83f551d26e6c4f658426b1196ff3a0935aea7047 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -145,6 +145,7 @@ void ClangFormatConfigWidget::initialize()
|
||||
if (!currentProject || !projectConfigExists()) {
|
||||
m_ui->projectHasClangFormat->hide();
|
||||
} else {
|
||||
m_ui->projectHasClangFormat->show();
|
||||
m_ui->projectHasClangFormat->setText(
|
||||
tr("Current project has its own overridden .clang-format file "
|
||||
"and can be configured in Projects > Code Style > C++."));
|
||||
|
||||
Reference in New Issue
Block a user