]> git.lyx.org Git - features.git/commit
Problem: A crash when no color is selected and the "alter" button is pressed.
authorBernhard Roider <bernhard.roider@sonnenkinder.org>
Wed, 9 May 2007 20:09:03 +0000 (20:09 +0000)
committerBernhard Roider <bernhard.roider@sonnenkinder.org>
Wed, 9 May 2007 20:09:03 +0000 (20:09 +0000)
commit4a2ffc83f8c1cff1e03b86d4f4824c23631624df
treed31a74e9d33f698bc973aa3553fbe5b35c493a4f
parent1038ed69e661916f07d8e605924fa2288d799a48
Problem: A crash when no color is selected and the "alter" button is pressed.
Solution: Disable the alter button if no item is selected and add an additional test for a valid index.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18247 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/QPrefs.cpp
src/frontends/qt4/QPrefs.h