diff --git a/sea_transport/adminpanel.ui b/sea_transport/adminpanel.ui
index 196027d..e006923 100644
--- a/sea_transport/adminpanel.ui
+++ b/sea_transport/adminpanel.ui
@@ -25,19 +25,19 @@
-
-
+
-
-
-
+
Add
-
-
+
Remove
@@ -57,19 +57,19 @@
-
-
+
-
-
-
+
Add
-
-
+
Remove
@@ -89,19 +89,19 @@
-
-
+
-
-
-
+
Add
-
-
+
Remove
@@ -121,19 +121,19 @@
-
-
+
-
-
-
+
Add
-
-
+
Remove
diff --git a/sea_transport/authwindow.cpp b/sea_transport/authwindow.cpp
index 5f8712c..9af9f9d 100644
--- a/sea_transport/authwindow.cpp
+++ b/sea_transport/authwindow.cpp
@@ -60,5 +60,7 @@ void AuthWindow::on_auth_requested() {
else {
QMessageBox::critical(this, "Error", "Deserialized user have wrong type. "
"It may mean corruption of data.");
+ return;
}
+ close();
}