Browse Source

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 years ago
parent
commit
eee7862363
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/properties-view.cpp

+ 1 - 1
UI/properties-view.cpp

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