Don't close the Capture Options window if there was an error in what was

selected (and we're not going to start capturing).  That way the user can fix
whatever was wrong without having to re-open the dialog.

svn path=/trunk/; revision=52512
This commit is contained in:
Jeff Morriss 2013-10-10 20:23:59 +00:00
parent 36fe610b11
commit 561a0713d1
1 changed files with 2 additions and 1 deletions

View File

@ -5352,7 +5352,8 @@ capture_start_cb(GtkWidget *w _U_, gpointer d _U_)
return; /* Building options window: ignore "capture start" */
}
success = capture_dlg_prep(cap_open_w);
window_destroy(GTK_WIDGET(cap_open_w));
if (success)
window_destroy(GTK_WIDGET(cap_open_w));
if (!success)
return; /* error in options dialog */
}