Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienPeillet committed Nov 27, 2023
1 parent c958ebd commit 19b0fc1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gui/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ def initGui(self, parent: QObject, toolbar: QToolBar) -> None:
def clean(self):
self.saveFolderEdit.setText("")
self.driverComboBox.setCurrentIndex(0)
self.progressBar.setFormat(
f"%p%"
)
self.progressBar.setFormat("%p%")
self.progressBar.setValue(0)

def updateSaveFolder(self) -> None:
Expand Down Expand Up @@ -330,7 +328,7 @@ def addEndEffortFeature(self, layer: QgsVectorLayer) -> QgsVectorLayer:
layer.startEditing()
return layer

def removeEndEffort(self, layer):
def removeEndEffort(self, layer: QgsVectorLayer) -> None:
layer.startEditing()
expr = QgsExpression(
f"status = '{StatusCode.display(StatusCode.END)}'"
Expand Down

0 comments on commit 19b0fc1

Please sign in to comment.