mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Fix typo in "Python Initialization failed" message (#158)
This commit is contained in:
@@ -86,17 +86,16 @@ bool ProxyPython::init(IOrganizer* moInfo)
|
||||
m_LoadFailure = FailureType::INITIALIZATION;
|
||||
if (QMessageBox::question(
|
||||
parentWidget(), tr("Python Initialization failed"),
|
||||
tr("On a previous start the Python Plugin failed to initialize.\n"
|
||||
"Do you want to try initializing python again (at the risk of "
|
||||
tr("On a previous start, the Python Plugin failed to initialize.\n"
|
||||
"Do you want to try initializing Python again (at the risk of "
|
||||
"another crash)?\n "
|
||||
"Suggestion: Select \"no\", and click the warning sign for further "
|
||||
"help.Afterwards you have to re-enable the python plugin."),
|
||||
"help. Afterwards you have to re-enable the Python plugin."),
|
||||
QMessageBox::Yes | QMessageBox::No,
|
||||
QMessageBox::No) == QMessageBox::No) {
|
||||
// we force enabled here (note: this is a persistent settings since MO2 2.4
|
||||
// or something), plugin
|
||||
// usually should not handle enabled/disabled themselves but this is a base
|
||||
// plugin so...
|
||||
// or something), plugin usually should not handle enabled/disabled
|
||||
// themselves but this is a base plugin so...
|
||||
m_MOInfo->setPersistent(name(), "enabled", false, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user