Skip to content

Commit

Permalink
Fixed styling
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Aug 31, 2023
1 parent a916da8 commit 09ac6f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/cfclient/ui/dialogs/logconfigdialogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/cfclient/ui/tabs/LogBlockDebugTab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09ac6f4

Please sign in to comment.