diff --git a/src/blackgui/components/logincomponent.ui b/src/blackgui/components/logincomponent.ui index c603bba37..e0ecf56e3 100644 --- a/src/blackgui/components/logincomponent.ui +++ b/src/blackgui/components/logincomponent.ui @@ -89,7 +89,7 @@ QTabWidget::North - 2 + 0 diff --git a/src/blackgui/components/mappingcomponent.cpp b/src/blackgui/components/mappingcomponent.cpp index c81a74c71..569e71769 100644 --- a/src/blackgui/components/mappingcomponent.cpp +++ b/src/blackgui/components/mappingcomponent.cpp @@ -388,14 +388,14 @@ namespace BlackGui void CMappingComponent::onResetAircraft() { - if (!sGui->getIContextSimulator()->isSimulatorSimulating()) { return; } + if (!sGui || !sGui->getIContextSimulator() || !sGui->getIContextSimulator()->isSimulatorSimulating()) { return; } const CCallsign callsign(this->validateRenderedCallsign()); if (callsign.isEmpty()) { return; } const bool reset = sGui->getIContextSimulator()->resetToModelMatchingAircraft(callsign); const CStatusMessage msg = reset ? CStatusMessage(this).info("Model reset for '%1'") << callsign.toQString() : CStatusMessage(this).info("Reset failed for '%1'") << callsign.toQString(); - this->showOverlayMessage(msg, 5000); + this->showOverlayMessage(msg, 3000); } void CMappingComponent::onModelPreviewChanged(int state) diff --git a/src/blackgui/editors/matchingform.ui b/src/blackgui/editors/matchingform.ui index 16a4ae4d6..df9c339c4 100644 --- a/src/blackgui/editors/matchingform.ui +++ b/src/blackgui/editors/matchingform.ui @@ -7,7 +7,7 @@ 0 0 293 - 438 + 453 @@ -98,7 +98,7 @@ 0 - 125 + 130 diff --git a/src/blackgui/editors/voicesetupform.ui b/src/blackgui/editors/voicesetupform.ui index e800c9bd7..06449f778 100644 --- a/src/blackgui/editors/voicesetupform.ui +++ b/src/blackgui/editors/voicesetupform.ui @@ -71,7 +71,7 @@ - set defaults + set defaults @@ -80,6 +80,11 @@ + + cb_Override + pb_SetDefaults + le_VatsimUdpPort +