Skip to content

Commit

Permalink
Fix 'cancel' option when selecting DVD device
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Jul 15, 2012
1 parent d00d2a8 commit fb89160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/libs/libmyth/mythmediamonitor.cpp
Expand Up @@ -833,7 +833,10 @@ QString MediaMonitor::defaultDevice(QString dbSetting,
MythMediaDevice *d = c_monitor->selectDrivePopup(label, false, true);

if (d == (MythMediaDevice *) -1) // User cancelled
{
device.clear(); // If user has explicitly cancelled return empty string
d = NULL;
}

if (d && c_monitor->ValidateAndLock(d))
{
Expand Down

0 comments on commit fb89160

Please sign in to comment.