New color dialog to enable system color picking (GTK only)

Use GTK ColorChooserDialog for color selection of chromakey under linux
This commit is contained in:
Bruno Herbelin
2023-02-21 00:09:24 +01:00
parent c28685c700
commit db462690b3
4 changed files with 132 additions and 21 deletions

View File

@@ -715,7 +715,7 @@ bool UserInterface::saveOrSaveAs(bool force_versioning)
bool UserInterface::TryClose()
{
// cannot close if a file dialog is pending
if (DialogToolkit::FileDialog::busy())
if (DialogToolkit::FileDialog::busy() || DialogToolkit::ColorPickerDialog::busy())
return false;
// always stop all recordings