Adding tooltip to history actions for the ones that are too long to be displayed
This commit is contained in:
parent
6fe9e1b3a2
commit
ebee780756
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,8 @@ ScrollView {
|
||||||
flat: true
|
flat: true
|
||||||
text: history.redoStack[index].getReadableString()
|
text: history.redoStack[index].getReadableString()
|
||||||
|
|
||||||
|
ToolTip.visible: hovered
|
||||||
|
ToolTip.text: text
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
history.redoMultipleDefered(history.redoCount-index)
|
history.redoMultipleDefered(history.redoCount-index)
|
||||||
|
@ -98,6 +100,8 @@ ScrollView {
|
||||||
flat: true
|
flat: true
|
||||||
text: history.undoStack[history.undoCount-index-1].getReadableString()
|
text: history.undoStack[history.undoCount-index-1].getReadableString()
|
||||||
|
|
||||||
|
ToolTip.visible: hovered
|
||||||
|
ToolTip.text: text
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
history.undoMultipleDefered(index+1)
|
history.undoMultipleDefered(index+1)
|
||||||
|
|
Loading…
Reference in a new issue