diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-12-30 19:20:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-30 19:20:52 -0600 |
| commit | 7cdaecc5bd5938e70e7161b3732e040af48cf305 (patch) | |
| tree | 21fe507adae95996b96099253b35579d3d853435 /src/mainwindow.cpp | |
| parent | 7f0844bdd498ab3176fc79f24d9217d1c03d7e4c (diff) | |
| parent | 22643edb21a100b6671cdcab7b8b8fa6b8ed5890 (diff) | |
Merge pull request #604 from Project579/Develop
Added Alpha channel to color pickers
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 27ffc71e..f2206062 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3346,6 +3346,7 @@ void MainWindow::setColor_clicked() QSettings &settings = m_OrganizerCore.settings().directInterface();
ModInfo::Ptr modInfo = ModInfo::getByIndex(m_ContextRow);
QColorDialog dialog(this);
+ dialog.setOption(QColorDialog::ShowAlphaChannel);
QColor currentColor = modInfo->getColor();
QColor previousColor = settings.value("previousSeparatorColor", QColor()).value<QColor>();
if (currentColor.isValid())
|
