Skip to content

Commit

Permalink
Merge pull request #1466 from otseng/changes
Browse files Browse the repository at this point in the history
Fix shortcut
  • Loading branch information
eliranwong authored Nov 1, 2024
2 parents 1f31b9a + cab0782 commit 2b8df8e
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ uniquebible/htmlResources/images/[A-Z]*/*
uniquebible/htmlResources/images/qrcode.png
**/.DS_Store
nohup.out
/Perimeter\ Worship\ Songs
uniquebible/Perimeter\ Worship\ Songs
/Personal
uniquebible/htmlResources/main-*.html
uniquebible/htmlResources/lib/pdfjs-2.7.570-dist/web/*.pdf
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/AlephMainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from uniquebible.util.FileUtil import FileUtil
from uniquebible.util.WebtopUtil import WebtopUtil
import re, os
import shortcut as sc
import uniquebible.shortcut as sc


class AlephMainWindow:
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/ClassicMainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from uniquebible.util.FileUtil import FileUtil
from uniquebible.util.WebtopUtil import WebtopUtil
import re, os
import shortcut as sc
import uniquebible.shortcut as sc


class ClassicMainWindow:
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/FocusMainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from uniquebible.util.LanguageUtil import LanguageUtil
from uniquebible.util.FileUtil import FileUtil
from uniquebible.util.WebtopUtil import WebtopUtil
import shortcut as sc
import uniquebible.shortcut as sc
import re, os


Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
from uniquebible.util.ShortcutUtil import ShortcutUtil
from uniquebible.util.TextUtil import TextUtil
from uniquebible.util.PydubUtil import PydubUtil
import shortcut as sc
import uniquebible.shortcut as sc
from uniquebible.util.UpdateUtil import UpdateUtil
from uniquebible.util.DateUtil import DateUtil
from uniquebible.util.CrossPlatform import CrossPlatform
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/MasterControl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from uniquebible import config
import shortcut as sc
import uniquebible.shortcut as sc
from uniquebible.gui.BibleExplorer import BibleExplorer
from uniquebible.gui.Library2Launcher import Library2Launcher
from uniquebible.gui.MediaLauncher import MediaLauncher
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/MaterialMainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from uniquebible.util.Languages import Languages
from uniquebible.util.FileUtil import FileUtil
from uniquebible.util.WebtopUtil import WebtopUtil
import shortcut as sc
import uniquebible.shortcut as sc
import re, os, webbrowser


Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/MiniTextEditor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from uniquebible import config
import re, os
import shortcut as sc
import uniquebible.shortcut as sc
from datetime import datetime
if config.qtLibrary == "pyside6":
from PySide6.QtCore import Qt, QTimer
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/WebEngineView.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from uniquebible.util.GoogleCloudTTSVoices import GoogleCloudTTS
from uniquebible import config
import os, platform, re
import shortcut as sc
import uniquebible.shortcut as sc
from functools import partial
if config.qtLibrary == "pyside6":
from PySide6.QtCore import Qt
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/WebEngineViewPopover.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from genericpath import isfile
import os
from uniquebible import config
import shortcut as sc
import uniquebible.shortcut as sc
if config.qtLibrary == "pyside6":
from PySide6.QtGui import QKeySequence, QAction, QShortcut
from PySide6.QtWidgets import QFileDialog, QInputDialog, QLineEdit
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/gui/WorkSpace.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from uniquebible import config
import re, os, base64, glob, webbrowser, markdown
from datetime import datetime
import shortcut as sc
import uniquebible.shortcut as sc
from uniquebible.util.SystemUtil import SystemUtil

if config.qtLibrary == "pyside6":
Expand Down
2 changes: 1 addition & 1 deletion uniquebible/plugins/layout/Starter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from uniquebible.gui.MenuItems import *
import shortcut as sc
import uniquebible.shortcut as sc
from uniquebible.db.BiblesSqlite import BiblesSqlite
from uniquebible.util.LanguageUtil import LanguageUtil

Expand Down
4 changes: 2 additions & 2 deletions uniquebible/util/ShortcutUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def getListCustomShortcuts():

@staticmethod
def getAllShortcuts():
import shortcut as sc
import uniquebible.shortcut as sc

lines = []
for action in sc.__dict__.keys():
Expand Down Expand Up @@ -789,7 +789,7 @@ def readShorcutFile(name=None):

@staticmethod
def loadShortcutFile(name=None):
import shortcut
import uniquebible.shortcut as shortcut
customShortcuts = ShortcutUtil.readShorcutFile(name)
for key in customShortcuts.keys():
action = customShortcuts[key]
Expand Down

0 comments on commit 2b8df8e

Please sign in to comment.