From ebee7807569b7950ce3a066e699c8ff4cc696c21 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Thu, 8 Apr 2021 13:04:09 +0200 Subject: [PATCH] Adding tooltip to history actions for the ones that are too long to be displayed --- qml/HistoryBrowser.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qml/HistoryBrowser.qml b/qml/HistoryBrowser.qml index 56589a4..3f2d162 100644 --- a/qml/HistoryBrowser.qml +++ b/qml/HistoryBrowser.qml @@ -47,6 +47,8 @@ ScrollView { flat: true text: history.redoStack[index].getReadableString() + ToolTip.visible: hovered + ToolTip.text: text onClicked: { history.redoMultipleDefered(history.redoCount-index) @@ -98,6 +100,8 @@ ScrollView { flat: true text: history.undoStack[history.undoCount-index-1].getReadableString() + ToolTip.visible: hovered + ToolTip.text: text onClicked: { history.undoMultipleDefered(index+1)