From: <jtc...@li...> - 2006-02-15 18:56:28
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26985/source/frost Modified Files: MainFrame.java Log Message: gui fix, currently read msg scroll position keeps when new msg in same board arrives Index: MainFrame.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/MainFrame.java,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** MainFrame.java 14 Feb 2006 07:44:51 -0000 1.83 --- MainFrame.java 15 Feb 2006 18:56:20 -0000 1.84 *************** *** 1050,1054 **** // board selected ! selectedMessage = TOF.getInstance().evalSelection(e, messageTable, selectedBoard); if (selectedMessage != null) { displayNewMessageIcon(false); --- 1050,1060 ---- // board selected ! FrostMessageObject newSelectedMessage = TOF.getInstance().evalSelection(e, messageTable, selectedBoard); ! if( newSelectedMessage == selectedMessage ) { ! return; // user is reading a message, selection did NOT change ! } else { ! selectedMessage = newSelectedMessage; ! } ! if (selectedMessage != null) { displayNewMessageIcon(false); |