Browse files

Don't autoselect a backend if the user has specified that no autodete…

…ction should be done.
  • Loading branch information...
1 parent 395518d commit ac042469221572eaeea9dd8faa9392407dd5a22b @daniel-kristjansson daniel-kristjansson committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/mythcontext.cpp
@@ -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:

0 comments on commit ac04246

Please sign in to comment.