Skip to content

Commit

Permalink
Fix tui error after rd question
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkankovsky committed Mar 6, 2025
1 parent 659bc62 commit 46e2fed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyanaconda/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
from pyanaconda.anaconda_loggers import get_module_logger, get_stdout_logger
from pyanaconda.core import constants, hw, util
from pyanaconda.core.configuration.anaconda import conf
from pyanaconda.core.constants import DisplayModes
from pyanaconda.core.i18n import _
from pyanaconda.core.path import join_paths
from pyanaconda.core.process_watchers import WatchProcesses
Expand Down Expand Up @@ -115,6 +116,9 @@ def ask_rd_question(anaconda, message):
ScreenHandler.schedule_screen(spoke)
App.run()

if not spoke.use_remote_desktop:
anaconda.display_mode = DisplayModes.TUI

return (spoke.use_remote_desktop, rdp_credentials(spoke.rdp_username, spoke.rdp_password))


Expand Down

0 comments on commit 46e2fed

Please sign in to comment.