This commit is contained in:
rustdesk 2022-07-26 23:00:55 +08:00
parent 4d1d90a090
commit 6981ae1c20
2 changed files with 1 additions and 2 deletions

View File

@ -192,7 +192,7 @@ pub fn make_menubar(host: Rc<Host>, is_index: bool) {
app_menu.addItem_(new_item);
} else {
// When app launched without argument, is the main panel.
let about_item = make_menu_item("About", "a", SHOW_ABOUT_TAG);
let about_item = make_menu_item("About", "", SHOW_ABOUT_TAG);
app_menu.addItem_(about_item);
let separator = NSMenuItem::separatorItem(nil).autorelease();
app_menu.addItem_(separator);

View File

@ -1669,7 +1669,6 @@ impl Remote {
}
async fn handle_msg_from_ui(&mut self, data: Data, peer: &mut Stream) -> bool {
// log::info!("new msg from ui, {}",data);
match data {
Data::Close => {
let mut misc = Misc::new();