Skip to content

Commit c724338

Browse files
committed
get rid of error message if menu hidden (#48)
1 parent 63ac902 commit c724338

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/com/lushprojects/circuitjs1/client/CirSim.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -3797,7 +3797,8 @@ void getSetupList(final boolean openDefault) {
37973797
try {
37983798
requestBuilder.sendRequest(null, new RequestCallback() {
37993799
public void onError(Request request, Throwable exception) {
3800-
Window.alert(Locale.LS("Can't load circuit list!"));
3800+
if (!hideMenu)
3801+
Window.alert(Locale.LS("Can't load circuit list!"));
38013802
GWT.log("File Error Response", exception);
38023803
}
38033804

0 commit comments

Comments
 (0)