aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorSamuel Ghinet <samuel.ghinet@qt.io>2022-03-08 15:09:49 +0200
committerSamuel Ghinet <samuel.ghinet@qt.io>2022-03-09 10:55:49 +0000
commita61f7db1ea51dbdce9d91be60372cfd549a2285f (patch)
tree9d68ecd7d39f102e29caecced6896a8fac499f2d /share
parent72eba8218d8806b0f0e6b0832796193a7b5778a8 (diff)
Fix: Recents don't show up for Custom presets
In the New Project dialog for QDS, if the user had created a project from a User-defined (i.e. Custom) preset, this preset did not appear under the Recents tab. Task-number: QDS-4989 Change-Id: Ib1f5e772fc9a45ad727627152f292f6e1178ee8c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/qmldesigner/newprojectdialog/imports/NewProjectDialog/NewProjectView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/newprojectdialog/imports/NewProjectDialog/NewProjectView.qml b/share/qtcreator/qmldesigner/newprojectdialog/imports/NewProjectDialog/NewProjectView.qml
index 997260747b..aae984b069 100644
--- a/share/qtcreator/qmldesigner/newprojectdialog/imports/NewProjectDialog/NewProjectView.qml
+++ b/share/qtcreator/qmldesigner/newprojectdialog/imports/NewProjectDialog/NewProjectView.qml
@@ -199,7 +199,7 @@ ScrollView {
anchors.margins: 4
visible: isUserPreset === true
&& delegate.hover
- && scrollView.currentTabName !== "Recents"
+ && scrollView.currentTabName !== BackendApi.recentsTabName()
Text {
anchors.fill: parent