Commits

Mathias Panzenböck  committed 2426b84

don't expand launcher items. maybe we need an option to make this configurable?

  • Participants
  • Parent commits b743d7d
  • Branches newLayout2

Comments (0)

Files changed (1)

File applet/SmoothTasks/TaskItem.cpp

 }
 
 bool TaskItem::isExpandedStatic(const TaskManager::AbstractGroupableItem& abstractGroupableItem, const Applet& applet) {
-	if (applet.expandTasks()) {
+	if (applet.expandTasks() && abstractGroupableItem.itemType() != TaskManager::LauncherItemType) {
 		switch (applet.keepExpanded()) {
 			case Applet::ExpandNone          : return false;
 			case Applet::ExpandAll           : return true;