Skip to content

Commit

Permalink
fixed QValidator. Qt5 has a lot of changed apis :(
Browse files Browse the repository at this point in the history
  • Loading branch information
mtivadar committed Jul 21, 2017
1 parent 9f2dc50 commit bdc07a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnpackPlugin.py
Expand Up @@ -88,4 +88,4 @@ def _validate(s, k):
if state == QValidator.Acceptable:
self.parent().setStyleSheet('QLineEdit {{ background-color: {} }}'.format(color))

return (state, k + 1)
return (state, c, k + 1)

0 comments on commit bdc07a4

Please sign in to comment.