diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp
index 3fe5abd..3b6cfa4 100755
--- a/ProfileInterface.cpp
+++ b/ProfileInterface.cpp
@@ -36,7 +36,6 @@ ProfileInterface::ProfileInterface(ProfileDatabase *profileDB, CrewDatabase *cre
ui(new Ui::ProfileInterface)
{
ui->setupUi(this);
- ui->saProfile->setVisible(false);
ui->cmdCloseProfile->setEnabled(false);
loadingStr = ui->labProfileLoading->text();
profileFolder = "";
@@ -115,8 +114,7 @@ void ProfileInterface::on_profileLoaded()
{
QSpacerItem *saSpacerItem = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
ui->saProfileContent->layout()->addItem(saSpacerItem);
- ui->saProfile->setVisible(true);
- ui->frmLoading->setVisible(false);
+ ui->swProfile->setCurrentWidget(ui->pageProfile);
ui->cmdCloseProfile->setEnabled(true);
}
diff --git a/ProfileInterface.ui b/ProfileInterface.ui
index 3dcaefb..4081f9a 100755
--- a/ProfileInterface.ui
+++ b/ProfileInterface.ui
@@ -27,87 +27,62 @@
0
-
-
-
- QFrame::NoFrame
-
-
- QFrame::Plain
-
-
+
+
0
-
-
- 0
-
-
- 0
-
-
-
-
-
- Qt::Vertical
-
-
-
- 0
- 0
-
-
-
-
- -
-
-
- Loading file %1 of %2 files
-
-
- Qt::AlignCenter
-
-
-
- -
-
-
- 0
-
-
- false
-
-
-
- -
-
-
- Qt::Vertical
-
-
-
- 0
- 0
-
-
-
-
-
-
-
- -
-
-
- true
-
-
-
-
- 0
- 0
- 398
- 121
-
-
-
+
+
+
-
+
+
+ Qt::Vertical
+
+
+
+ 0
+ 0
+
+
+
+
+ -
+
+
+ Loading file %1 of %2 files
+
+
+ Qt::AlignCenter
+
+
+
+ -
+
+
+ 0
+
+
+ false
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+
0
@@ -121,17 +96,48 @@
0
-
-
-
- 0
+
+
+ true
-
-
-
-
- -
-
-
-
+
+
+
+ 0
+ 0
+ 398
+ 251
+
+
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+ -
+
+
+ 0
+
+
-
+
+
+ -
+
+
+
+
+
+
+