mirror of
https://bitbucket.org/presik/presik_pos.git
synced 2023-12-14 06:03:00 +01:00
Minor fix
This commit is contained in:
parent
a0f74dd615
commit
037216a5a4
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue