1
0
Эх сурвалжийг харах

UI: Don't show alpha value for color source

This isn't editable by the user, so it doesn't make sense to show it.
Richard Stanway 5 жил өмнө
parent
commit
eee7862363

+ 1 - 1
UI/properties-view.cpp

@@ -650,7 +650,7 @@ void OBSPropertiesView::AddColor(obs_property_t *prop, QFormLayout *layout,
 
 	QPalette palette = QPalette(color);
 	colorLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
-	colorLabel->setText(color.name(QColor::HexArgb));
+	colorLabel->setText(color.name(QColor::HexRgb));
 	colorLabel->setPalette(palette);
 	colorLabel->setStyleSheet(
 		QString("background-color :%1; color: %2;")