Skip to content

Commit

Permalink
(fix) issue with gnome 46
Browse files Browse the repository at this point in the history
  • Loading branch information
javadr committed May 20, 2024
1 parent 9c888e5 commit 7c73d5d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2024-05-20 -- v0.8.4
-- Fixed issue with the latest update of gnome 46

2023-08-18 -- v0.8.3
-- Synchronize the scrolls of input/ouput boxes.
-- Synchronize the scrolls of input/output boxes.

2023-08-17 -- v0.8.2
-- `txt` as a default extension for saving/opening file.
Expand Down
2 changes: 1 addition & 1 deletion negar_gui/constants.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import platform
from pathlib import Path

__version__ = "0.8.3"
__version__ = "0.8.4"

APPDATA = "AppData/Roaming/" if platform.system() == "Windows" else "."
SETTING_FILE = Path.home() / f"{APPDATA}negar-gui/settings.toml"
Expand Down
5 changes: 4 additions & 1 deletion negar_gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,10 @@ def main(args=docopt(__doc__)):
sys.exit()

global MAIN_WINDOW
qdarktheme.enable_hi_dpi()
try:
qdarktheme.enable_hi_dpi()
except AttributeError:
qdarktheme.setup_theme = lambda x, **kw: ()
app = QApplication(sys.argv)
qdarktheme.setup_theme("dark")
MAIN_WINDOW = MyWindow()
Expand Down

0 comments on commit 7c73d5d

Please sign in to comment.