diff options
| -rwxr-xr-x | upscale-qt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -418,8 +418,9 @@ class Main(QMainWindow): def save_as(self): job = self.job() src = Path(job.path) + x = round(job.result.width() / job.image.width()) path, _ = QFileDialog.getSaveFileName( - self, 'Save upscaled image', str(src.with_name(f'{src.stem}_x4{src.suffix}')), + self, 'Save upscaled image', str(src.with_name(f'{src.stem}_x{x}{src.suffix}')), 'Images (*.png *.jpg *.jpeg *.webp *.tif *.tiff)') if not path: return |
