Rename "open_find_viewer" to "open_pdf_viewer"

This commit is contained in:
Micah Lee 2020-02-20 14:32:09 -08:00
parent f3cc500886
commit d01f2eedea
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 2 additions and 2 deletions

View file

@ -269,7 +269,7 @@ class Common(object):
path = self.get_resource_path("logo.png") path = self.get_resource_path("logo.png")
return QtGui.QIcon(path) return QtGui.QIcon(path)
def open_find_viewer(self, filename): def open_pdf_viewer(self, filename):
if self.settings.get("open_app") in self.pdf_viewers: if self.settings.get("open_app") in self.pdf_viewers:
if platform.system() == "Darwin": if platform.system() == "Darwin":
# Get the PDF reader bundle command # Get the PDF reader bundle command

View file

@ -99,7 +99,7 @@ class TasksWidget(QtWidgets.QWidget):
# Open # Open
if self.common.settings.get("open"): if self.common.settings.get("open"):
self.common.open_find_viewer(dest_filename) self.common.open_pdf_viewer(dest_filename)
# Clean up # Clean up
self.common.pixel_dir.cleanup() self.common.pixel_dir.cleanup()