Skip to content

Commit 7c73d5d

Browse files
committed
(fix) issue with gnome 46
1 parent 9c888e5 commit 7c73d5d

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

Changelog.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
2024-05-20 -- v0.8.4
2+
-- Fixed issue with the latest update of gnome 46
3+
14
2023-08-18 -- v0.8.3
2-
-- Synchronize the scrolls of input/ouput boxes.
5+
-- Synchronize the scrolls of input/output boxes.
36

47
2023-08-17 -- v0.8.2
58
-- `txt` as a default extension for saving/opening file.

negar_gui/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import platform
22
from pathlib import Path
33

4-
__version__ = "0.8.3"
4+
__version__ = "0.8.4"
55

66
APPDATA = "AppData/Roaming/" if platform.system() == "Windows" else "."
77
SETTING_FILE = Path.home() / f"{APPDATA}negar-gui/settings.toml"

negar_gui/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,10 @@ def main(args=docopt(__doc__)):
774774
sys.exit()
775775

776776
global MAIN_WINDOW
777-
qdarktheme.enable_hi_dpi()
777+
try:
778+
qdarktheme.enable_hi_dpi()
779+
except AttributeError:
780+
qdarktheme.setup_theme = lambda x, **kw: ()
778781
app = QApplication(sys.argv)
779782
qdarktheme.setup_theme("dark")
780783
MAIN_WINDOW = MyWindow()

0 commit comments

Comments
 (0)