Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix 'cancel' option when selecting DVD device

  • Loading branch information...
commit fb89160891b56a63840e5b261f52bac50334733c 1 parent d00d2a8
@stuartm stuartm authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  mythtv/libs/libmyth/mythmediamonitor.cpp
View
3  mythtv/libs/libmyth/mythmediamonitor.cpp
@@ -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))
{
Please sign in to comment.
Something went wrong with that request. Please try again.