Adjusted wizard

* always start with 1st page (legal)
* select XSwiftBus copy page as default.
This commit is contained in:
Klaus Basan
2018-10-18 15:51:57 +02:00
parent e9386f676a
commit 9dc154fe72
2 changed files with 11 additions and 8 deletions

View File

@@ -36,10 +36,10 @@ namespace BlackGui
this->setButtonText(CustomButton1, "skip"); this->setButtonText(CustomButton1, "skip");
// no other versions, skip copy pages // no other versions, skip copy pages
if (!CDirectoryUtils::hasOtherSwiftDataDirectories()) // disabled afetr discussion with RP as it is confusing
{ // if (!CDirectoryUtils::hasOtherSwiftDataDirectories()) { this->setStartId(ConfigSimulator); }
this->setStartId(ConfigSimulator);
} ui->tb_SimulatorSpecific->setCurrentWidget(ui->comp_InstallXSwiftBus);
const QList<int> ids = this->pageIds(); const QList<int> ids = this->pageIds();
const auto mm = std::minmax_element(ids.begin(), ids.end()); const auto mm = std::minmax_element(ids.begin(), ids.end());

View File

@@ -232,13 +232,16 @@
<layout class="QVBoxLayout" name="vl_SimulatorSpecific"> <layout class="QVBoxLayout" name="vl_SimulatorSpecific">
<item> <item>
<widget class="QToolBox" name="tb_SimulatorSpecific"> <widget class="QToolBox" name="tb_SimulatorSpecific">
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="pg_InstallFsxTerrainProbe"> <widget class="QWidget" name="pg_InstallFsxTerrainProbe">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>75</width> <width>668</width>
<height>64</height> <height>445</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">
@@ -262,8 +265,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>89</width> <width>668</width>
<height>64</height> <height>445</height>
</rect> </rect>
</property> </property>
<attribute name="label"> <attribute name="label">