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

List:       kde-commits
Subject:    kdeedu/kvoctrain/kvoctrain
From:       Peter Hedlund <peter () peterandlinda ! com>
Date:       2004-12-26 21:12:48
Message-ID: 20041226211248.B70321C62E () office ! kde ! org
[Download RAW message or body]

CVS commit by hedlund: 

Take selected font into account when appending a row. Note that it's customary to end \
a command caption with an ellipsis when the command opens a dialog. BUG:93962


  M +5 -4      kvoctrain.cpp   1.72


--- kdeedu/kvoctrain/kvoctrain/kvoctrain.cpp  #1.71:1.72
@@ -751,4 +751,5 @@ void kvoctrainApp::slotAppendRow ()
     int row = doc->numEntries()-1;
     view->getTable()->updateContents(row, KV_COL_ORG);
+    view->getTable()->setRowHeight(row, \
view->getTable()->fontMetrics().lineSpacing() );  \
view->getTable()->setCurrentRow(row, KV_COL_ORG);  \
editRemoveSelectedArea->setEnabled(view->getTable()->numRows() > 0);


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

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