Skip to content

Commit

Permalink
Merge pull request #13540 from Roy-043/Draft-Draft_ToggleGrid-should-…
Browse files Browse the repository at this point in the history
…update-the-grid

Draft: Draft_ToggleGrid should update the grid
  • Loading branch information
Roy-043 committed Apr 19, 2024
2 parents b331a9f + a043cfa commit 0622cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Draft/draftguitools/gui_grid.py
Expand Up @@ -79,10 +79,10 @@ def Activated(self):
if cmdactive:
grid.show_during_command = False
elif cmdactive:
grid.on()
grid.set() # set() required: the grid must be updated to match the current WP
grid.show_during_command = True
else:
grid.on()
grid.set()
WorkingPlane.get_working_plane()
grid.show_always = True

Expand Down

0 comments on commit 0622cb7

Please sign in to comment.