Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 22, 2023
1 parent 49c95b2 commit 3d2a03d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions felt/gui/create_map_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
PRIVACY_POLICY_URL,
TOS_URL
)
from .workspaces_combo import WorkspacesComboBox
from .felt_dialog_header import FeltDialogHeader
from .gui_utils import (
GuiUtils,
FELT_STYLESHEET
)
from .workspaces_combo import WorkspacesComboBox
from ..core import (
MapUploaderTask,
Map
Expand Down Expand Up @@ -116,7 +116,7 @@ def __init__(self, # pylint: disable=too-many-statements
)

header_label_vl = QVBoxLayout()
header_label_vl.setContentsMargins(0,0,0,0)
header_label_vl.setContentsMargins(0, 0, 0, 0)
header_label_vl.addStretch()
header_label_vl.addWidget(self.header_label)

Expand Down Expand Up @@ -155,15 +155,17 @@ def __init__(self, # pylint: disable=too-many-statements

self.setting_menu = QMenu(self)
palette = self.setting_menu.palette()
palette.setColor(QPalette.Active, QPalette.Base, QColor(255,255,255))
palette.setColor(QPalette.Active, QPalette.Base, QColor(255, 255, 255))
palette.setColor(QPalette.Active, QPalette.Text, QColor(0, 0, 0))
palette.setColor(QPalette.Active, QPalette.Highlight, QColor('#3d521e'))
palette.setColor(QPalette.Active, QPalette.Highlight,
QColor('#3d521e'))
palette.setColor(QPalette.Active, QPalette.HighlightedText,
QColor(255, 255, 255))
self.setting_menu.setPalette(palette)

self.upload_raster_as_styled_action = QAction(self.tr('Upload Raster Layers as Styled Images'),
self.setting_menu)
self.upload_raster_as_styled_action = QAction(
self.tr('Upload Raster Layers as Styled Images'),
self.setting_menu)
self.upload_raster_as_styled_action.setCheckable(True)
self.upload_raster_as_styled_action.setChecked(
QgsSettings().value(
Expand Down

0 comments on commit 3d2a03d

Please sign in to comment.