mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-12 22:25:59 -04:00
GUI: factory reset: reset preview background colour also
This commit is contained in:
parent
bdb4fcbcf8
commit
5390c0df92
1 changed files with 3 additions and 0 deletions
|
@ -775,6 +775,9 @@ void MainWindow::factory_reset()
|
||||||
setColorTxtBtn(m_fgstr, txt_fgcolor, fgcolor);
|
setColorTxtBtn(m_fgstr, txt_fgcolor, fgcolor);
|
||||||
setColorTxtBtn(m_bgstr, txt_bgcolor, bgcolor);
|
setColorTxtBtn(m_bgstr, txt_bgcolor, bgcolor);
|
||||||
|
|
||||||
|
m_previewBgColor = QColor(0xF4, 0xF4, 0xF4);
|
||||||
|
m_bc.setColor(m_previewBgColor);
|
||||||
|
|
||||||
txtData->setFocus(Qt::OtherFocusReason);
|
txtData->setFocus(Qt::OtherFocusReason);
|
||||||
update_preview();
|
update_preview();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue