mirror of
https://github.com/borgbase/vorta
synced 2025-01-03 05:36:19 +00:00
Add tooltip containing path name. By @XXXBold (#1072)
This commit is contained in:
parent
54d8bbe6b1
commit
9919070e49
1 changed files with 4 additions and 2 deletions
|
@ -112,8 +112,10 @@ def add_source_to_table(self, source, update_data=None):
|
|||
|
||||
index_row = self.sourceFilesWidget.rowCount()
|
||||
self.sourceFilesWidget.insertRow(index_row)
|
||||
# Insert all items on current row
|
||||
self.sourceFilesWidget.setItem(index_row, SourceColumn.Path, QTableWidgetItem(source.dir))
|
||||
# Insert all items on current row, add tooltip containg the path name
|
||||
new_item = QTableWidgetItem(source.dir)
|
||||
new_item.setToolTip(source.dir)
|
||||
self.sourceFilesWidget.setItem(index_row, SourceColumn.Path, new_item)
|
||||
self.sourceFilesWidget.setItem(index_row, SourceColumn.Type, QTableWidgetItem(""))
|
||||
self.sourceFilesWidget.setItem(index_row, SourceColumn.Size, SizeItem(""))
|
||||
self.sourceFilesWidget.setItem(index_row, SourceColumn.FilesCount, FilesCount(""))
|
||||
|
|
Loading…
Reference in a new issue