13
0

Fix state restoration in EngineControl dialog for backends with driver selection

We want to save the driver name even when the engine is running and the driver
combo is insensitive
This commit is contained in:
Tim Mayberry 2015-08-13 00:19:01 +10:00
parent 864b557a3d
commit 59a8fc9e64

View File

@ -2405,7 +2405,7 @@ EngineControl::get_backend () const
string
EngineControl::get_driver () const
{
if (driver_combo.get_sensitive() && driver_combo.get_parent()) {
if (driver_combo.get_parent()) {
return driver_combo.get_active_text ();
} else {
return "";