[gnome-maps] Revert "sidebar: Don't show spinner if an error label is showing"



commit 8b02b39c78eee8763fb175f8a8ef5ac5883076ce
Author: Marcus Lundblad <ml update uu se>
Date:   Wed Apr 1 20:12:11 2020 +0200

    Revert "sidebar: Don't show spinner if an error label is showing"
    
    This reverts commit d89f3ea6df023109de89c7ca6208cd8c47ebbe79.

 src/sidebar.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/sidebar.js b/src/sidebar.js
index 5d8fa8b4..32946654 100644
--- a/src/sidebar.js
+++ b/src/sidebar.js
@@ -244,9 +244,8 @@ var Sidebar = GObject.registerClass({
         });
 
         this._query.connect('notify', () => {
-            if (this._query.isValid() && this._errorLabel.label === '') {
+            if (this._query.isValid()) {
                 this._instructionStack.visible_child = this._instructionSpinner;
-                this._errorLabel.label = '';
             } else if (this._instructionStack.visible_child !== this._errorLabel) {
                 if (this._query.transportation === RouteQuery.Transportation.TRANSIT) {
                     this._clearTransitOverview();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]