Minor fix

This commit is contained in:
Oscar Alvarez 2021-01-29 13:01:31 -05:00
parent a0f74dd615
commit 037216a5a4

View file

@ -472,4 +472,5 @@ class GridForm(QGridLayout):
return self.store
def set_focus(self):
self.focus_widget.setFocus()
if hasattr(self, 'focus_widget'):
self.focus_widget.setFocus()