Fix context menu behavior
This commit is contained in:
@@ -21,7 +21,6 @@ import gc
|
||||
import sys
|
||||
import hashlib
|
||||
import pathlib
|
||||
from PyQt5 import QtWidgets, QtGui, QtCore
|
||||
|
||||
# This allows for the program to be launched from the
|
||||
# dir where it's been copied instead of needing to be
|
||||
@@ -30,6 +29,8 @@ install_dir = os.path.realpath(__file__)
|
||||
install_dir = pathlib.Path(install_dir).parents[1]
|
||||
sys.path.append(str(install_dir))
|
||||
|
||||
from PyQt5 import QtWidgets, QtGui, QtCore
|
||||
|
||||
from lector import database
|
||||
from lector import sorter
|
||||
from lector.toolbars import LibraryToolBar, BookToolBar
|
||||
@@ -42,7 +43,6 @@ from lector.settings import Settings
|
||||
from lector.settingsdialog import SettingsUI
|
||||
from lector.metadatadialog import MetadataUI
|
||||
from lector.definitionsdialog import DefinitionsUI
|
||||
|
||||
from lector.resources import mainwindow, resources
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user