Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 7, 2023
1 parent a4082a2 commit 6d7b9d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions koordinates/gui/dataset_browser_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,6 @@ def has_narrow_cards(self) -> bool:
def minimumSize(self):
return QSize(150, DatasetItemWidgetBase.CARD_HEIGHT)

if self.force_narrow_cards:
return QSize(330, DatasetItemWidgetBase.CARD_HEIGHT_TALL)
else:
return QSize(150, DatasetItemWidgetBase.CARD_HEIGHT)

def setGeometry(self, rect):
super().setGeometry(rect)

Expand Down Expand Up @@ -367,7 +362,12 @@ def __init__(self,
self.setLayout(self.dataset_layout)

def set_column_count(self, count: int):
#if self.column_count >= 1 and use_narrow_cards == is_using_narrow_cards:
"""
Sets the number of table columns in the parent table, so that
the item can rearrange layout accordingly
"""
# if self.column_count >= 1 and \
# use_narrow_cards == is_using_narrow_cards:
# return

self.column_count = count
Expand Down

0 comments on commit 6d7b9d5

Please sign in to comment.