[Update] Main Window: 送信ボタンを押した後、メッセージ入力欄にフォーカスするように。
This commit is contained in:
1
view.py
1
view.py
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user