cmsdesigner / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

Problems after erasing shortcuts #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Absolutely fresh setup. I've tried to erase shortcuts for NextTab, PrevTab and 
Setup (I prefer using Ctrl+Tab). After I erased these 3 shotcuts and closed 
Settings window, I was presented with the following exception dialog:

---------------------------
Application_ThreadException
---------------------------
System.ArgumentException: An item with the same key has already been added.

   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

   at SuperPutty.frmSuperPutty.UpdateShortcutsFromSettings()

   at SuperPutty.frmSuperPutty.optionsToolStripMenuItem_Click(Object sender, EventArgs e)

   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

After I closed this windows and SuperPutty, I couldn't start it any more - 
nothing happens at all.

SuperPutty 1.3.0.7, Windows 7 64-bit

Original issue reported on code.google.com by AShalimov@gmail.com on 26 Sep 2012 at 3:44

GoogleCodeExporter commented 9 years ago
Fixed in 1.3.0.9....

Original comment by btatey...@gmail.com on 29 Sep 2012 at 4:12