mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Hide the first page in the smart playlist wizard
This commit is contained in:
parent
1dec3e9818
commit
42f1bef53f
@ -84,6 +84,9 @@ Wizard::Wizard(LibraryBackend* library, QWidget* parent)
|
||||
|
||||
new QVBoxLayout(type_page_);
|
||||
AddPlugin(new QueryWizardPlugin(library_, this));
|
||||
|
||||
// Skip the type page - remove this when we have more than one type
|
||||
setStartId(2);
|
||||
}
|
||||
|
||||
Wizard::~Wizard() {
|
||||
@ -95,7 +98,8 @@ void Wizard::SetGenerator(GeneratorPtr gen) {
|
||||
for (int i=0 ; i<plugins_.count() ; ++i) {
|
||||
if (plugins_[i]->type() == gen->type()) {
|
||||
TypeChanged(i);
|
||||
next();
|
||||
// TODO: Put this back in when the setStartId is removed from the ctor
|
||||
// next();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user