Commit eecd08a9 authored by Ivan Yossi's avatar Ivan Yossi 👌
Browse files

Fix reversed python api guides lock/show states

BUG:408113
parent c95b6d11
...@@ -794,12 +794,12 @@ QList<qreal> Document::verticalGuides() const ...@@ -794,12 +794,12 @@ QList<qreal> Document::verticalGuides() const
bool Document::guidesVisible() const bool Document::guidesVisible() const
{ {
return d->document->guidesConfig().lockGuides(); return d->document->guidesConfig().showGuides();
} }
bool Document::guidesLocked() const bool Document::guidesLocked() const
{ {
return d->document->guidesConfig().showGuides(); return d->document->guidesConfig().lockGuides();
} }
Document *Document::clone() const Document *Document::clone() const
......
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