forked from osmocom/wireshark
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:
parent
36fe610b11
commit
561a0713d1
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue