Fix opening save PDFs in Linux, and add some spacing in settings widget

This commit is contained in:
Micah Lee 2020-01-09 15:01:15 -08:00
parent 3be1d63330
commit 13452a41aa
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
3 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@ import tempfile
import appdirs
import platform
import subprocess
import shlex
from PyQt5 import QtGui
if platform.system() == "Darwin":

View file

@ -73,10 +73,12 @@ class SettingsWidget(QtWidgets.QWidget):
# Layout
layout = QtWidgets.QVBoxLayout()
layout.addWidget(self.dangerous_doc_label)
layout.addSpacing(20)
layout.addLayout(save_layout)
layout.addLayout(open_layout)
layout.addLayout(ocr_layout)
layout.addLayout(update_layout)
layout.addSpacing(20)
layout.addLayout(button_layout)
layout.addStretch()
self.setLayout(layout)

View file

@ -1,6 +1,4 @@
import shutil
import shlex
import subprocess
import tempfile
from PyQt5 import QtCore, QtGui, QtWidgets