From 82913391351511a8c5a08a4fb3468c25de6f9ffc Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Mon, 30 Oct 2017 19:25:51 +0100 Subject: [PATCH] Fix warning about wrong parameter-count. --- src/prefs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prefs.js b/src/prefs.js index 1ebd3b1..9bbcb16 100644 --- a/src/prefs.js +++ b/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()))