1.15.4
This commit is contained in:
parent
850c8453a7
commit
488905bcd1
|
@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
- fixed BSOD "SYSTEM_SERVICE_EXCEPTION (3b)" when opening a DLL from AlertFolder using x64dbg [#4421](https://github.com/sandboxie-plus/Sandboxie/issues/4421)
|
||||
- fixed BSoD "CRITICAL_PROCESS_DIED" when terminate all sandboxed programs [#1316](https://github.com/sandboxie-plus/Sandboxie/issues/1316)
|
||||
- Note: we now terminate boxed processes individually instead of terminating using the job object, unless "TerminateJobObject=y" is set
|
||||
- fixed Ini Editor Font Selection Not Working After INI Highlighting Feature Added [#4429](https://github.com/sandboxie-plus/Sandboxie/issues/4429)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -684,9 +684,11 @@ void COptionsWindow::ApplyIniEditFont()
|
|||
{
|
||||
QFont font; // defaults to application font
|
||||
auto fontName = theConf->GetString("UIConfig/IniFont", "").trimmed();
|
||||
if (!fontName.isEmpty()) bool dummy = font.fromString(fontName); // ignore fromString() fail
|
||||
//ui.txtIniSection->setFont(font);
|
||||
m_pCodeEdit->setFont(font);
|
||||
if (!fontName.isEmpty()) {
|
||||
font.fromString(fontName); // ignore fromString() fail
|
||||
//ui.txtIniSection->setFont(font);
|
||||
m_pCodeEdit->SetFont(font);
|
||||
}
|
||||
}
|
||||
|
||||
void COptionsWindow::OnSetTree()
|
||||
|
|
|
@ -666,9 +666,11 @@ void CSettingsWindow::ApplyIniEditFont()
|
|||
{
|
||||
QFont font; // defaults to application font
|
||||
auto fontName = theConf->GetString("UIConfig/IniFont", "").trimmed();
|
||||
if (!fontName.isEmpty()) bool dummy = font.fromString(fontName); // ignore fromString() fail
|
||||
//ui.txtIniSection->setFont(font);
|
||||
m_pCodeEdit->setFont(font);
|
||||
if (!fontName.isEmpty()) {
|
||||
font.fromString(fontName); // ignore fromString() fail
|
||||
//ui.txtIniSection->setFont(font);
|
||||
m_pCodeEdit->SetFont(font);
|
||||
}
|
||||
ui.lblIniEditFont->setText(tr("%0, %1 pt").arg(font.family()).arg(font.pointSizeF())); // tr: example: "Calibri, 9.5 pt"
|
||||
}
|
||||
|
||||
|
@ -676,7 +678,7 @@ void CSettingsWindow::OnSelectIniEditFont()
|
|||
{
|
||||
bool ok;
|
||||
//auto newFont = QFontDialog::getFont(&ok, ui.txtIniSection->font(), this);
|
||||
auto newFont = QFontDialog::getFont(&ok, m_pCodeEdit->font(), this);
|
||||
auto newFont = QFontDialog::getFont(&ok, m_pCodeEdit->GetFont(), this);
|
||||
if (!ok) return;
|
||||
theConf->SetValue("UIConfig/IniFont", newFont.toString());
|
||||
ApplyIniEditFont();
|
||||
|
|
Loading…
Reference in New Issue