Skip to content

Commit

Permalink
source table show grid and alt colors
Browse files Browse the repository at this point in the history
  • Loading branch information
shivansh02 authored and m3nu committed Jul 19, 2024
1 parent b9c4ffb commit 94c7068
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions src/vorta/assets/UI/sourcetab.ui
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
Expand Down
1 change: 1 addition & 0 deletions src/vorta/views/source_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def __init__(self, parent=None):
self.sourceFilesWidget.setSortingEnabled(True)
self.sourceFilesWidget.setContextMenuPolicy(Qt.ContextMenuPolicy.CustomContextMenu)
self.sourceFilesWidget.customContextMenuRequested.connect(self.sourceitem_contextmenu)
self.sourceFilesWidget.setAlternatingRowColors(True)

# Prepare add button
self.addMenu = QMenu(self.addButton)
Expand Down

0 comments on commit 94c7068

Please sign in to comment.