mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-08 14:48:47 -04:00
Left click on notify icon in taskbar should open console, fixes #454. (Thanks Goodlyay)
This commit is contained in:
parent
e10576fad4
commit
54258aee95
@ -82,9 +82,14 @@ namespace MCGalaxy.Gui {
|
||||
|
||||
void MakeNotifyIcon() {
|
||||
UpdateNotifyIconText();
|
||||
notifyIcon.ContextMenuStrip = this.icon_context;
|
||||
notifyIcon.Icon = this.Icon;
|
||||
notifyIcon.ContextMenuStrip = icon_context;
|
||||
notifyIcon.Icon = Icon;
|
||||
notifyIcon.Visible = true;
|
||||
notifyIcon.MouseClick += notifyIcon_MouseClick;
|
||||
}
|
||||
|
||||
void notifyIcon_MouseClick(object sender, MouseEventArgs e) {
|
||||
if (e.Button == MouseButtons.Left) openConsole_Click(sender, e);
|
||||
}
|
||||
|
||||
void InitServer() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user