Skip to content

Commit

Permalink
Make frontengine not catch output
Browse files Browse the repository at this point in the history
Make frontengine not catch output
  • Loading branch information
JE-Chen committed Jul 10, 2024
1 parent 79823c2 commit 2b6697e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion je_editor/pyside_ui/main_ui/main_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def __init__(self, debug_mode: bool = False, show_system_tray_ray: bool = False)
# TAB Add
self.tab_widget.addTab(EditorWidget(self), language_wrapper.language_word_dict.get("tab_name_editor"))
self.tab_widget.addTab(
FrontEngineMainUI(show_system_tray_ray=False),
FrontEngineMainUI(show_system_tray_ray=False, redirect_output=False),
language_wrapper.language_word_dict.get("tab_name_frontengine"))
self.tab_widget.addTab(JEBrowser(), language_wrapper.language_word_dict.get("tab_name_web_browser"))
self.tab_widget.addTab(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def add_dock_widget(ui_we_want_to_set: EditorMain, widget_type: str = None):
dock_widget.setWidget(widget)
elif widget_type == "frontengine":
dock_widget.setWindowTitle(language_wrapper.language_word_dict.get("dock_frontengine_title"))
dock_widget.setWidget(FrontEngineMainUI())
dock_widget.setWidget(FrontEngineMainUI(redirect_output=False))
elif widget_type == "ipython":
dock_widget.setWindowTitle(language_wrapper.language_word_dict.get("dock_ipython_title"))
dock_widget.setWidget(IpythonWidget(ui_we_want_to_set))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def add_editor_tab(ui_we_want_to_set: EditorMain):

def add_frontengine_tab(ui_we_want_to_set: EditorMain):
ui_we_want_to_set.tab_widget.addTab(
FrontEngineMainUI(show_system_tray_ray=False),
FrontEngineMainUI(show_system_tray_ray=False, redirect_output=False),
f"{language_wrapper.language_word_dict.get('tab_menu_frontengine_tab_name')} "
f"{ui_we_want_to_set.tab_widget.count()}")

Expand Down
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Rename to build stable version
# This is stable version
# Rename to build dev version
# This is dev version
[build-system]
requires = ["setuptools>=61.0"]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "je_editor"
version = "0.0.177"
name = "je_editor_dev"
version = "0.0.193"
authors = [
{ name = "JE-Chen", email = "jechenmailman@gmail.com" },
]
Expand All @@ -26,7 +26,6 @@ classifiers = [
"Operating System :: OS Independent"
]


[project.urls]
Homepage = "https://github.com/JE-Chen/je_editor"
Documentation = "https://je-editor.readthedocs.io/en/latest/"
Expand Down
11 changes: 6 additions & 5 deletions dev.toml → stable.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Rename to build dev version
# This is dev version
# Rename to build stable version
# This is stable version
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "je_editor_dev"
version = "0.0.192"
name = "je_editor"
version = "0.0.178"
authors = [
{ name = "JE-Chen", email = "jechenmailman@gmail.com" },
]
Expand All @@ -26,6 +26,7 @@ classifiers = [
"Operating System :: OS Independent"
]


[project.urls]
Homepage = "https://github.com/JE-Chen/je_editor"
Documentation = "https://je-editor.readthedocs.io/en/latest/"
Expand Down

0 comments on commit 2b6697e

Please sign in to comment.