This commit is contained in:
parent
b1e455ca48
commit
197f0a9dca
|
@ -541,7 +541,7 @@ def ChangeSources():
|
||||||
ui.searchList.setModel(nmodel)
|
ui.searchList.setModel(nmodel)
|
||||||
urlSourcesIndex = i
|
urlSourcesIndex = i
|
||||||
except:
|
except:
|
||||||
[ui.actionGitlink, ui.actionGitee, ui.actionGithub, ui.action_IPv6, ui.action_2, ui.action_3, ui.action][urlSourcesIndex].setChecked(True)
|
#[ui.actionGitlink, ui.actionGitee, ui.actionGithub, ui.action_IPv6, ui.action_2, ui.action_3, ui.action][urlSourcesIndex].setChecked(True)
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
QtWidgets.QMessageBox.critical(window, "提示", "无法连接服务器")
|
QtWidgets.QMessageBox.critical(window, "提示", "无法连接服务器")
|
||||||
urlSources = old_urlSources #如果源不可用则换回来
|
urlSources = old_urlSources #如果源不可用则换回来
|
||||||
|
|
Loading…
Reference in New Issue