Skip to content

Commit

Permalink
Don't autoselect a backend if the user has specified that no autodete…
Browse files Browse the repository at this point in the history
…ction should be done.
  • Loading branch information
daniel-kristjansson committed May 4, 2012
1 parent 395518d commit ac04246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/mythcontext.cpp
Expand Up @@ -341,7 +341,7 @@ bool MythContextPrivate::FindDatabase(bool prompt, bool noAutodetect)
// In addition to the UI chooser, we can also try to autoSelect later,
// but only if we're not doing manualSelect and there was no
// valid config.xml
bool autoSelect = !manualSelect && !loaded;
bool autoSelect = !manualSelect && !loaded && !noAutodetect;

// 2. If the user isn't forcing up the chooser UI, look for a default
// backend in config.xml, then test DB settings we've got so far:
Expand Down

0 comments on commit ac04246

Please sign in to comment.