Fix context menu behavior

This commit is contained in:
BasioMeusPuga
2018-03-24 01:34:42 +05:30
parent dd4b502861
commit 9c85a1075e
12 changed files with 23 additions and 10 deletions

View File

@@ -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