summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-05-24 14:42:58 +0200
committerSebastian Reichel <sre@ring0.de>2012-05-24 14:42:58 +0200
commit17e95acf5a8c64e38225a45e53ed1cbe9e104aa4 (patch)
tree48f39152cedf62c77913588c53be38ed47c744d2
parentb08f4d44a0cf010a2e61f4e1393e171ee5039543 (diff)
downloadserial-barcode-scanner-17e95acf5a8c64e38225a45e53ed1cbe9e104aa4.tar.bz2
FIX: leave stock mode on logout
-rw-r--r--db.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/db.vala b/db.vala
index 5b32cd6..b30fb57 100644
--- a/db.vala
+++ b/db.vala
@@ -79,6 +79,7 @@ public class Database {
public bool logout() {
this.user = 0;
+ this.stock_mode = false;
this.logged_in = false;
return true;
}