src/colorSelector.cc

changeset 796
f23f4e4ed279
parent 795
195fa1fff9c3
child 801
f6abc9eb4217
--- a/src/colorSelector.cc	Sat Jun 14 09:05:29 2014 +0300
+++ b/src/colorSelector.cc	Sat Jun 14 09:11:25 2014 +0300
@@ -151,6 +151,7 @@
 	ui->colorLabel->setText (format ("%1 - %2", selection()->indexString(),
 		(selection()->isDirect() ? "<direct color>" : selection()->name())));
 	ui->iconLabel->setPixmap (makeColorIcon (selection(), 16).pixmap (16, 16));
+	ui->transparentDirectColor->setEnabled (selection()->isDirect());
 	ui->transparentDirectColor->setChecked (selection()->isDirect() && selection()->faceColor().alphaF() < 1.0);
 }
 

mercurial