Commit c17897b6 authored by Halla Rempt's avatar Halla Rempt

Do not set the document modified from the grid docker

Just setting a canvas on the grid docker would set the document
to modified.

BUG:388563
parent e205429d
......@@ -62,12 +62,6 @@ void KisGridManager::setGridConfigImpl(const KisGridConfig &config, bool emitMod
config.saveStaticData();
m_imageView->document()->setGridConfig(config);
if (emitModified) {
// TODO: make editing guides undoable, so that no
// setModified() will be needed
m_imageView->document()->setModified(true);
}
m_gridDecoration->setGridConfig(config);
m_gridDecoration->setVisible(config.showGrid());
......
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