mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-30 09:49:21 +02:00
Fixed a 'value never read' issue.
This commit is contained in:
@@ -1675,7 +1675,6 @@ LayoutView::enable_edits (bool enable)
|
||||
if (m_disabled_edits > 0) {
|
||||
--m_disabled_edits;
|
||||
}
|
||||
enable = (m_disabled_edits == 0);
|
||||
} else {
|
||||
++m_disabled_edits;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user