From 840990950d51b380f817dcdb16b19cacb93f98e2 Mon Sep 17 00:00:00 2001 From: Andrew nuark G Date: Mon, 21 Dec 2020 21:33:36 +0700 Subject: [PATCH] Updated ids in ui --- sea_transport/adminpanel.ui | 24 ++++++++++++------------ sea_transport/authwindow.cpp | 2 ++ 2 files changed, 14 insertions(+), 12 deletions(-) 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(); }