[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 93002] Colors indicating levels only appear after forcing
From:       Peter Hedlund <peter () peterandlinda ! com>
Date:       2004-11-16 20:36:48
Message-ID: 20041116203648.9153.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
        
http://bugs.kde.org/show_bug.cgi?id=93002        
peter peterandlinda com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From peter peterandlinda com  2004-11-16 21:36 -------
CVS commit by hedlund: 

Correctly update color of original language when a translation is clicked.
BUG:93002


  M +2 -2      rowtable.cpp   1.34


--- kdeedu/kvoctrain/kvoctrain/rowtable.cpp  #1.33:1.34
 @ -1,5 +1,4  @
 /***************************************************************************
 
-    $Id$
 
                  table view to kvoctrain document
 @ -441,4 +440,5  @ void RowTable::contentsMousePressEvent( 
   int cc = columnAt(e->x());
   int cr = rowAt(e->y());
+  int co = currentColumn();
 
   QTable::contentsMousePressEvent(e);
 @ -447,5 +447,5  @ void RowTable::contentsMousePressEvent( 
     // update color of original when column changes and more than 1 translation
     bool update_org = false;
-    if (cc != currentColumn() && numCols() > 2)
+    if (cc != co && numCols() > 2)
       update_org = true;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic