Commit 0880d17 Joseph Kaile
committed
1 parent e5d22b3 commit 0880d17 Copy full SHA for 0880d17
File tree 1 file changed +6
-2
lines changed
Source/CesiumEditor/Private
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4
4
#include " CesiumEditor.h"
5
5
#include " CesiumIonClient/Connection.h"
6
6
#include " CesiumIonClient/Token.h"
7
+ #include " CesiumIonServer.h"
7
8
#include " HAL/PlatformApplicationMisc.h"
8
9
#include " HttpModule.h"
9
10
#include " Interfaces/IHttpRequest.h"
@@ -25,8 +26,11 @@ void IonLoginPanel::Construct(const FArguments& InArgs) {
25
26
26
27
auto visibleWhenConnecting = [this ]() {
27
28
return FCesiumEditorModule::serverManager ()
28
- .GetCurrentSession ()
29
- ->isConnecting ()
29
+ .GetCurrentSession ()
30
+ ->isConnecting () &&
31
+ !FCesiumEditorModule::serverManager ()
32
+ .GetCurrent ()
33
+ ->ApiUrl .IsEmpty ()
30
34
? EVisibility::Visible
31
35
: EVisibility::Hidden;
32
36
};
You can’t perform that action at this time.
0 commit comments