diff --git a/src/smartplaylists/querysortpage.ui b/src/smartplaylists/querysortpage.ui
index 8ae19981d..4758b8104 100644
--- a/src/smartplaylists/querysortpage.ui
+++ b/src/smartplaylists/querysortpage.ui
@@ -14,7 +14,16 @@
Form
-
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
0
-
@@ -82,6 +91,12 @@
-
+
+
+ 150
+ 0
+
+
songs
diff --git a/src/smartplaylists/wizard.cpp b/src/smartplaylists/wizard.cpp
index deba5d19d..ab327a885 100644
--- a/src/smartplaylists/wizard.cpp
+++ b/src/smartplaylists/wizard.cpp
@@ -106,6 +106,9 @@ void Wizard::SetGenerator(GeneratorPtr gen) {
// Set the name
finish_page_->ui_->name->setText(gen->name());
finish_page_->ui_->dynamic->setChecked(gen->is_dynamic());
+ if (!gen->name().isEmpty()) {
+ setWindowTitle(windowTitle() + " - " + gen->name());
+ }
if (type_index_ == -1) {
qLog(Error) << "Plugin was not found for generator type" << gen->type();