small workaround to prevent network preflet crashes on NAT network cards in VirtualBox and VMWare. Not a final solution but preventing a crash is always a plus. resolves #7038. Thanks Skipp_OSX!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -236,7 +236,8 @@ EthernetSettingsView::AttachedToWindow()
|
|||||||
fTypeMenuField->Menu()->SetTargetForItems(this);
|
fTypeMenuField->Menu()->SetTargetForItems(this);
|
||||||
|
|
||||||
// display settigs of first adapter on startup
|
// display settigs of first adapter on startup
|
||||||
_ShowConfiguration(fSettings.ItemAt(0));
|
if (fSettings.ItemAt(0))
|
||||||
|
_ShowConfiguration(fSettings.ItemAt(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user