mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 15:20:25 -04:00
Fix some glitches in qml app menu
This commit is contained in:
parent
6e093c74c0
commit
36e20db887
4 changed files with 13 additions and 22 deletions
|
@ -630,11 +630,10 @@ ApplicationWindow
|
|||
property var netStatus: ({})
|
||||
function refreshNetStatus(optCallback)
|
||||
{
|
||||
console.log("refreshNetStatus(optCallback)", optCallback)
|
||||
console.log("refreshNetStatus(optCallback)")
|
||||
rsApi.request("/peers/get_network_options", "", function(par)
|
||||
{
|
||||
var json = JSON.parse(par.response)
|
||||
console.log("got", par.response)
|
||||
mainWindow.netStatus = json.data
|
||||
if(typeof(optCallback) === "function") optCallback();
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue