<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Il 17/11/2012 14:10, Thomas Baumgart ha
      scritto:<br>
    </div>
    <blockquote cite="mid:16505149.HU8ib2h5BA@thb-nb.site" type="cite">
      <pre wrap="">Hi all,

On Saturday 17 November 2012 12:23:56 Cristian Oneț wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Thomas,

I haven't had time too look at this patch while it was in reviewboard.
Before checking out my mails I ran an update on my daily used kmymoney
(built from master + some patches I have for personal use) and saw that the
ledger was not working properly. After reading the mails I've made the
connection with this commit.

You can see in the attached screenshots that, with the tags feature, the
scheduled transactions are no longer rendered dimmed in the ledger, this is
very confusing since at first I though: "Hey, why can't I edit my regular
transactions?". Secondly the selected transaction's text is no longer
rendered with the selection color from the color theme (white in my case).
</pre>
      </blockquote>
      <pre wrap="">
I can confirm this (mis-)behavior. Can you open a bug against git master? I am 
sure, Alessandro comes up with the necessary fix on reviewboard.

</pre>
    </blockquote>
    The bug was introduced when I wrote the code for showing the tags in
    different colors.<br>
    <br>
    As a temporary fix you can comment out the following rows in
    widgets/transaction.cpp:<br>
    <br>
    331 QTextDocument document;<br>
    332 document.setHtml(txt);<br>
    333 painter->translate(option.rect.adjusted(2, 0, -2,
    0).topLeft());<br>
    334 document.drawContents(painter);<br>
    335 painter->translate(-option.rect.adjusted(2, 0, -2,
    0).topLeft());<br>
    <br>
    and uncomment this row:<br>
       <br>
    337 //style->drawItemText(painter, option.rect.adjusted(2, 0, -2,
    0), align, option.palette, true, txt, m_selected ?
    QPalette::HighlightedText : QPalette::Text);<br>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <br>
    I'll fix it properly as soon as possible.<br>
    <br>
    Ciao,<br>
     Alessandro<br>
    <br>
  </body>
</html>