diff options
| author | Project579 <star579avatar@gmail.com> | 2018-12-31 01:18:01 +0100 |
|---|---|---|
| committer | Project579 <star579avatar@gmail.com> | 2018-12-31 01:18:01 +0100 |
| commit | 22643edb21a100b6671cdcab7b8b8fa6b8ed5890 (patch) | |
| tree | 21fe507adae95996b96099253b35579d3d853435 /src/mainwindow.cpp | |
| parent | 7f0844bdd498ab3176fc79f24d9217d1c03d7e4c (diff) | |
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())
|
