~ci-train-bot/ubuntu-ui-extras/ubuntu-ui-extras-ubuntu-zesty-2605

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Extras/TabsBar/Tab.qml

  • Committer: Andrew Hayzen
  • Date: 2017-02-15 17:11:11 UTC
  • mto: This revision was merged to the branch mainline in revision 124.
  • Revision ID: ahayzen@gmail.com-20170215171111-pd6wtmve8mmy3emm
* When the tab is being destroyed unset the source of the TabIcon Loader

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
                }
150
150
            )
151
151
        }
 
152
        // When the tab is destroyed (as it is out of view) set the source
 
153
        // to empty, otherwise if the loader is still loading
 
154
        // the context doesn't exist and errors occur in the console
 
155
        Component.onDestruction: source = "";
152
156
    }
153
157
 
154
158
    Label {