mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix background of color dialog
(inherit from dialog and not button for which we changed stylesheet) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29227 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
91a6ac3457
commit
88f32018f7
@ -1190,7 +1190,7 @@ void GuiDocument::setCustomMargins(bool custom)
|
|||||||
void GuiDocument::changeBackgroundColor()
|
void GuiDocument::changeBackgroundColor()
|
||||||
{
|
{
|
||||||
QColor const & newColor = QColorDialog::getColor(
|
QColor const & newColor = QColorDialog::getColor(
|
||||||
rgb2qcolor(set_backgroundcolor), qApp->focusWidget());
|
rgb2qcolor(set_backgroundcolor), asQWidget());
|
||||||
if (!newColor.isValid())
|
if (!newColor.isValid())
|
||||||
return;
|
return;
|
||||||
// set the button color
|
// set the button color
|
||||||
|
Loading…
Reference in New Issue
Block a user