update idController when create new connection

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-08-08 17:22:25 +08:00
parent 4d3f5373d4
commit 21cf2a01c7
4 changed files with 17 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ class _ConnectionPageState extends State<ConnectionPage>
_idController.selection = TextSelection(
baseOffset: 0, extentOffset: _idController.value.text.length);
});
Get.put<IDTextEditingController>(_idController);
windowManager.addListener(this);
}