issue #1052
This commit is contained in:
parent
4d1d90a090
commit
6981ae1c20
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user