[Update] Main Window: 送信ボタンを押した後、メッセージ入力欄にフォーカスするように。

This commit is contained in:
Sakamoto Shiina
2024-01-07 05:08:33 +09:00
parent 2d9228034d
commit 827e92e6f3

View File

@@ -515,6 +515,7 @@ class View():
return "break" # For deleting the next line that will be inserted when the Enter key is pressed.
def pressedSendMessageButtonFunction(_e):
main_window_registers.get("message_box_bind_Return")()
vrct_gui.entry_message_box.focus()
entry_message_box = getattr(vrct_gui, "entry_message_box")
entry_message_box.bind("<Shift-Return>", lambda _e: None) # This is to prevent message sending on Shift + Enter key press and just add a new line.