]> git.lyx.org Git - features.git/commit
QBranches::on_colorPB_clicked() one-line bug fix:
authorAbdelrazak Younes <younes@lyx.org>
Mon, 20 Mar 2006 14:10:31 +0000 (14:10 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 20 Mar 2006 14:10:31 +0000 (14:10 +0000)
commit967d3e3cd6ef0c415fa29a6aab279f337611c9b8
treed430410cce50ad5c0921b46561615440bd614f6c
parent4a5053d34e8ace31de50f19e530da51dd99f55e4
QBranches::on_colorPB_clicked() one-line bug fix:
When you click the "Alter button" on a added branch in "Document Settings/Branches" Dialog, clicking on the palette on the right to select a color won't work (selected color stays black). After selecting a color from the "Basic Colors" or the "Custon colors"
(which works fine), the color selection from the palette will work correctly. The problems lies in that the QColor() constructor produces an invalid color (RGB 0,0,0). "lightskyblue" is now the default color for a branch when you click the alter button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13429 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/QBranches.C