Qt: Fix builtin post shaders
This commit is contained in:
1 parent
322c0c4c74
commit
e84f38f466
9 files changed
+2
-3
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -21,9 +21,8 @@ PostProcessingSettingsWidget::PostProcessingSettingsWidget(SettingsDialog* dialo
|
|||||||
{
|
{
|
||||||
if (!m_ui.widget->setConfigString(post_chain))
|
if (!m_ui.widget->setConfigString(post_chain))
|
||||||
{
|
{
|
||||||
QMessageBox::critical(this, tr("Error"),
|
QMessageBox::critical(this, tr("Error"), tr("The current post-processing chain is invalid, it has been reset."));
|
||||||
tr("The current post-processing chain is invalid, it has been reset. Any changes made will "
|
m_dialog->removeSettingValue("Display", "PostProcessChain");
|
||||||
"overwrite the existing config."));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user