mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-21 05:03:21 +03:00
fix: last window location calculation
This commit is contained in:
@@ -96,8 +96,7 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
|
||||
|
||||
void onRemoveId(String id) {
|
||||
if (tabController.state.value.tabs.isEmpty) {
|
||||
WindowController.fromWindowId(windowId()).hide();
|
||||
rustDeskWinManager.call(WindowType.Main, kWindowEventHide, {"id": windowId()});
|
||||
WindowController.fromWindowId(windowId()).close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user