From 09ac6f4d0a5c8d7b3c48aabb9ffe4b1b219b0582 Mon Sep 17 00:00:00 2001 From: Kristoffer Richardsson Date: Thu, 31 Aug 2023 14:18:13 +0200 Subject: [PATCH] Fixed styling --- src/cfclient/ui/dialogs/logconfigdialogue.py | 5 ++--- src/cfclient/ui/tabs/LogBlockDebugTab.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/cfclient/ui/dialogs/logconfigdialogue.py b/src/cfclient/ui/dialogs/logconfigdialogue.py index 5ac6949010..8919499e3b 100644 --- a/src/cfclient/ui/dialogs/logconfigdialogue.py +++ b/src/cfclient/ui/dialogs/logconfigdialogue.py @@ -118,8 +118,7 @@ def __init__(self, helper, *args): self.menuContextTree) # keyboard shortcuts - shortcut_delete = QShortcut(QKeySequence("Delete"), - self) + shortcut_delete = QShortcut(QKeySequence("Delete"), self) shortcut_delete.activated.connect(self._delete_config) shortcut_f2 = QShortcut(QKeySequence("F2"), self) @@ -263,7 +262,7 @@ def menuContextTree(self, point): self._edit_name() def _select_category(self, category): - items = self.categoryTree.findItems(category,Qt.MatchFlag.MatchFixedString | Qt.MatchFlag.MatchRecursive) + items = self.categoryTree.findItems(category, Qt.MatchFlag.MatchFixedString | Qt.MatchFlag.MatchRecursive) if items: category = items[0] self.categoryTree.setCurrentItem(category) diff --git a/src/cfclient/ui/tabs/LogBlockDebugTab.py b/src/cfclient/ui/tabs/LogBlockDebugTab.py index e5eba2837b..42551373f6 100644 --- a/src/cfclient/ui/tabs/LogBlockDebugTab.py +++ b/src/cfclient/ui/tabs/LogBlockDebugTab.py @@ -30,7 +30,7 @@ to edit them. """ -from PyQt6 import QtCore, QtWidgets, uic +from PyQt6 import QtWidgets, uic from PyQt6.QtCore import Qt, pyqtSignal import cfclient