Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 5, 2023
1 parent 450ac97 commit 4468011
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion felt/gui/create_map_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ def upload_raster_as_styled_toggled():
self.setting_button.setIcon(GuiUtils.get_icon('setting_icon.svg'))
self.setting_button.setPopupMode(QToolButton.InstantPopup)
self.setting_button.setStyleSheet(
"""QToolButton::menu-indicator { image: none }"""
"""QToolButton::menu-indicator { image: none }
QToolButton { border: 1px solid red; border-radius: 2px; }
"""
)
self.setting_button.setFixedHeight(
self.button_box.button(QDialogButtonBox.Cancel).height()
Expand Down
3 changes: 2 additions & 1 deletion felt/gui/recent_maps_list_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ def __init__(self, parent: Optional[QWidget] = None):
def _update_filter_stylesheet():
# this widget removes the stylesheet on edits!
self._filter.setStyleSheet(
self._filter.styleSheet() + self._filter._additional_stylesheet)
self._filter.styleSheet() +
self._filter._additional_stylesheet)

self._filter.valueChanged.connect(_update_filter_stylesheet)
_update_filter_stylesheet()
Expand Down

0 comments on commit 4468011

Please sign in to comment.