summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-08-25 05:20:31 +0200
committerTreeki <treeki@gmail.com>2012-08-25 05:20:31 +0200
commit62e6a67f0e755ecc8a56f0ce6b68499eba7e5e64 (patch)
treeeddb20b3ec520a83418d33670366f4db2fe195be
parent8cb142e69d955e06aa160a8e02903cc57c4515c4 (diff)
downloadLayoutStudio-62e6a67f0e755ecc8a56f0ce6b68499eba7e5e64.tar.gz
LayoutStudio-62e6a67f0e755ecc8a56f0ce6b68499eba7e5e64.zip
added alpha for vtxcolour editing. actually much easier than I expected!
-rw-r--r--lspaneeditor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lspaneeditor.cpp b/lspaneeditor.cpp
index 49939ec..1f6ba11 100644
--- a/lspaneeditor.cpp
+++ b/lspaneeditor.cpp
@@ -437,7 +437,11 @@ void LSPaneEditor::handlePicColourClicked() {
if (index == -1)
return;
- QColor newcol = QColorDialog::getColor(m_picture->vtxColours[index], this);
+ QColor newcol = QColorDialog::getColor(
+ m_picture->vtxColours[index],
+ this,
+ "Choose a Vertex Colour",
+ QColorDialog::ShowAlphaChannel);
if (newcol.isValid()) {
m_picture->vtxColours[index] = newcol;