...
 
Commits (5)
......@@ -106,7 +106,7 @@ class PhotobashDocker(DockWidget):
nextButton.setArrowType(Qt.ArrowType.RightArrow)
self.sliderLabel = QLabel(self.mainWidget)
self.sliderLabel.setText(f"Image Scale : {self.currImageScale}%")
self.sliderLabel.setText(f"Scale : {self.currImageScale}%")
self.sliderLabel.setMaximumWidth(self.sliderLabel.fontMetrics().width(self.sliderLabel.text()))
slider = QSlider(Qt.Horizontal, self)
......@@ -148,7 +148,7 @@ class PhotobashDocker(DockWidget):
def updateScale(self, value):
self.currImageScale = value
self.sliderLabel.setText(f"Scale : {self.currImageScale}%")
self.sliderLabel.setText(f"Image Scale : {self.currImageScale}%")
def updateCurrPage(self, increment):
if (self.currPage == 0 and increment == -1) or \
......@@ -218,7 +218,7 @@ class PhotobashDocker(DockWidget):
fileDialog.setFileMode(QFileDialog.DirectoryOnly);
if self.directoryPath == "":
self.directoryPath = fileDialog.getExistingDirectory()
self.directoryPath = fileDialog.getExistingDirectory(self.mainWidget, "Change Directory for Images", QStandardPaths.writableLocation(QStandardPaths.PicturesLocation))
Application.writeSetting(self.applicationName, self.referencesSetting, self.directoryPath)
else:
self.directoryPath = fileDialog.getExistingDirectory(self.mainWidget, "Change Directory for Images", self.directoryPath)
......