From 8b7dc0fc7e27a5bca4a3abe3821589d875adb9f6 Mon Sep 17 00:00:00 2001 From: bigtedde Date: Mon, 11 Sep 2023 10:51:19 -0700 Subject: [PATCH] top allign the archive action buttons --- src/vorta/assets/UI/archivetab.ui | 13 +++++++++++++ src/vorta/views/archive_tab.py | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/vorta/assets/UI/archivetab.ui b/src/vorta/assets/UI/archivetab.ui index 55c6ad89f..9c81d49f2 100644 --- a/src/vorta/assets/UI/archivetab.ui +++ b/src/vorta/assets/UI/archivetab.ui @@ -314,6 +314,19 @@ + + + + Qt::Vertical + + + + 20 + 40 + + + + diff --git a/src/vorta/views/archive_tab.py b/src/vorta/views/archive_tab.py index 28a076fab..18ed36a67 100644 --- a/src/vorta/views/archive_tab.py +++ b/src/vorta/views/archive_tab.py @@ -382,7 +382,8 @@ def on_selection_change(self, selected=None, deselected=None): for index in range(layout.count()): widget = layout.itemAt(index).widget() - widget.setToolTip(self.tooltip_dict.get(widget, "")) + if widget is not None: + widget.setToolTip(self.tooltip_dict.get(widget, "")) # refresh bMountArchive for the selected archive self.bmountarchive_refresh()