mirror of
https://github.com/schrodinger/pymol-open-source.git
synced 2026-06-03 19:54:24 +08:00
get_setting_boolean() -> bool
This commit is contained in:
@@ -8036,7 +8036,7 @@ PyObject *ExecutiveGetSettingOfType(PyMOLGlobals * G, int index,
|
||||
case cSetting_boolean:
|
||||
{
|
||||
int value = SettingGet_b(G, set_ptr2, set_ptr1, index);
|
||||
result = Py_BuildValue("i", value);
|
||||
result = PyBool_FromLong(value);
|
||||
}
|
||||
break;
|
||||
case cSetting_int:
|
||||
|
||||
Reference in New Issue
Block a user