Qt: Fix missing line on first postfx category

This commit is contained in:
Stenzek 2024-07-26 15:31:46 +10:00
parent 3282366ea7
commit 5656f91bd2
No known key found for this signature in database

View file

@ -341,7 +341,7 @@ void PostProcessingShaderConfigWidget::createUi()
m_layout->addWidget(label, row++, 0, 1, 3, Qt::AlignLeft); m_layout->addWidget(label, row++, 0, 1, 3, Qt::AlignLeft);
} }
if (last_category) if (last_category || !option.category.empty())
{ {
QLabel* line = new QLabel(this); QLabel* line = new QLabel(this);
line->setFrameShape(QFrame::HLine); line->setFrameShape(QFrame::HLine);