Commit 0ae842d8 authored by Halla Rempt's avatar Halla Rempt

BUG:373481 Don't reset the OCIO settings when moving the window

parent c427546a
......@@ -446,6 +446,14 @@ void LutDockerDock::selectOcioConfiguration()
void LutDockerDock::resetOcioConfiguration()
{
if (cfg.ocioColorManagementMode() == m_colorManagement->currentIndex()
&& cfg.useOcio() == m_chkUseOcio->isChecked()
&& cfg.ocioLockColorVisualRepresentation() == m_btnConvertCurrentColor->isChecked()
&& cfg.ocioConfigurationPath() == m_txtConfigurationPath->text()
) {
return;
}
m_ocioConfig.reset();
KisConfig cfg;
try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment