mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #887, skip copy steps if there is no other swift version to copy from
* pages as enum * buttons to copy/select/deselect (when UI component is used detached from wizard) * avoid crash when there is no other swift version (->empty model)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
cb024b0245
commit
1076eb2b29
@@ -29,6 +29,14 @@ namespace BlackGui
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Page ids
|
||||
enum Pages
|
||||
{
|
||||
CopySettings,
|
||||
CopyCaches,
|
||||
ConfigSimulator
|
||||
};
|
||||
|
||||
//! Constructor
|
||||
explicit CConfigurationWizard(QWidget *parent = nullptr);
|
||||
|
||||
@@ -40,6 +48,7 @@ namespace BlackGui
|
||||
void wizardCurrentIdChanged(int id);
|
||||
|
||||
QScopedPointer<Ui::CConfigurationWizard> ui;
|
||||
int m_lastId = -1;
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user