Fix Windows Crash due to nullptr

This commit is contained in:
ZeldaZach 2024-12-28 21:02:10 -05:00
parent bf63dc4ab7
commit 5e62069444
No known key found for this signature in database

View file

@ -302,7 +302,9 @@ void GeneralSettingsPage::retranslateUi()
updateNotificationCheckBox.setText(tr("Notify if a feature supported by the server is missing in my client"));
newVersionOracleCheckBox.setText(tr("Automatically run Oracle when running a new version of Cockatrice"));
showTipsOnStartup.setText(tr("Show tips on startup"));
resetAllPathsButton->setText(tr("Reset all paths"));
if (resetAllPathsButton) {
resetAllPathsButton->setText(tr("Reset all paths"));
}
const auto &settings = SettingsCache::instance();