Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5f8ea8ff authored by Deepak  Kumar's avatar Deepak Kumar

updated code, removed activityconfig with no multiple dataset

parent d0602d1a
......@@ -74,6 +74,7 @@ ActivityBase {
property int columns
property int rows
property int spacing: 5 * ApplicationInfo.ratio
property bool isMultipleDatasetMode: activity.datasetLoader.data != 0
}
onStart: Activity.start(items)
......@@ -165,7 +166,7 @@ ActivityBase {
Bar {
id: bar
content: BarEnumContent { value: help | home | level | activityConfig }
content: BarEnumContent { value: items.isMultipleDatasetMode ? (help | home | level | activityConfig) : (help | home | level) }
onHelpClicked: {
displayDialog(dialogHelp)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment