1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-06 04:58:19 +03:00

fix #981,single window titles in title tooltips

This commit is contained in:
Michail Vourlakos 2018-04-14 05:26:58 +03:00
parent b2c77843f1
commit e9ad5cd660

View File

@ -110,6 +110,7 @@ MouseArea{
property bool isActive: (IsActive === true) ? true : false
property bool isDemandingAttention: (IsDemandingAttention === true) ? true : false
property bool isDragged: false
property bool isGroupable: (IsGroupable === true) ? true : false
property bool isGroupParent: (IsGroupParent === true) ? true : false
property bool isForcedHidden: false
property bool isLauncher: (IsLauncher === true) ? true : false
@ -576,7 +577,11 @@ MouseArea{
}
if (root.latteDock && (!root.showPreviews)){
root.latteDock.showTooltipLabel(mainItemContainer, model.AppName);
if (isWindow) {
root.latteDock.showTooltipLabel(mainItemContainer, model.display);
} else {
root.latteDock.showTooltipLabel(mainItemContainer, model.AppName);
}
}
if (root.latteDock && root.latteDock.isHalfShown) {