Fixed title not restored in print functions

Fixes #185
This commit is contained in:
Salvador E. Tropea 2022-04-14 09:59:25 -03:00
parent 320f35d6fb
commit 0e8e697d19
1 changed files with 1 additions and 1 deletions

View File

@ -385,9 +385,9 @@ class VariantOptions(BaseOptions):
tb.SetTitle(text)
def restore_title(self):
self.old_title = None
if self.old_title is not None:
GS.board.GetTitleBlock().SetTitle(self.old_title)
self.old_title = None
def save_tmp_board(self, dir=None):
""" Save the PCB to a temporal file.