Fix warning about wrong parameter-count.

merge-requests/218/head
Jens Lody 7 years ago
parent 0278ad2c02
commit 8291339135
  1. 2
      src/prefs.js

@ -524,7 +524,7 @@ const WeatherPrefsWidget = new GObject.Class({
configWidgets: [],
selectionChanged: function(select) {
let a = select.get_selected_rows(this.liststore)[0][0];
let a = select.get_selected_rows()[0][0];
if (a !== undefined)
if (this.actual_city != parseInt(a.to_string()))

Loading…
Cancel
Save