My first ever code commit.

And all it does is to zoom() instead of dispose(true)

(assisted by SBahrin!)
This commit is contained in:
Redhuan D. Oon 2007-05-08 12:10:48 +00:00
parent ca523f91fd
commit 58ac3f8d0e
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ public abstract class Info extends CDialog
// Double click with selected row => exit // Double click with selected row => exit
if (e.getClickCount() > 1 && p_table.getSelectedRow() != -1) if (e.getClickCount() > 1 && p_table.getSelectedRow() != -1)
{ {
dispose(true); // double_click same as OK zoom(); // replacing dispose(true) so that it wouldnt just exit; // double_click same as OK
} }
// Right Click => start Calculator // Right Click => start Calculator
else if (SwingUtilities.isRightMouseButton(e)) else if (SwingUtilities.isRightMouseButton(e))