updated chroma image code

This commit is contained in:
Jared Bruni
2021-11-25 18:09:09 -08:00
parent d1fe83d0ac
commit cd68f9dfa2

View File

@@ -305,7 +305,7 @@ void ChromaWindow::enableKey(bool op) {
QMessageBox::information(this, "Enabled Keys", keys_text); QMessageBox::information(this, "Enabled Keys", keys_text);
break; break;
case 1: case 1:
if(color_replace_image.empty()) { if(select_image_path->text().length() == 0) {
QMessageBox::information(this, "Need to Set Image", "Please Select a image to replace key with"); QMessageBox::information(this, "Need to Set Image", "Please Select a image to replace key with");
return; return;
} }