Skip to content

Commit

Permalink
Dodanie funkcji blurwindow w panelu logowania
Browse files Browse the repository at this point in the history
  • Loading branch information
jgruszka93 authored and paninka1994 committed Jun 25, 2019
1 parent 4c85a9e commit 8ba1f89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file modified logger.db
Binary file not shown.
2 changes: 2 additions & 0 deletions magazyn.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ def logowanie(self):
# jeśli wysyłającym jest przycisk ZALOGUJ
if sender.objectName() == 'btn_login':
if self.loginstatus:
self.blurwindow()
Dialog.komunikat('warn', 'Nie można się zalogować będąc zalogowanym', self)
self.unblurwindow()
else:
self.blurwindow()
login, haslo, ok = LoginDialog.getloginhaslo(self)
Expand Down
Binary file modified test.db
Binary file not shown.

0 comments on commit 8ba1f89

Please sign in to comment.