paint: lut fixes

This commit is contained in:
luboslenco
2026-05-20 09:11:41 +02:00
parent 8bdde97c0f
commit f03610668f
+6 -1
View File
@@ -598,8 +598,13 @@ void box_preferences_pen_tab() {
}
void box_preferences_lut_picked(char *path) {
import_lut_run(path);
g_config->lut_path = string_copy(path);
if (iron_file_exists(g_config->lut_path)) {
import_lut_run(path);
}
else {
g_config->lut_path = "";
}
config_save();
g_context->ddirty = 2;
}