From: James Turner Date: Mon, 23 Nov 2015 17:59:16 +0000 (+0000) Subject: Ensure aircraft list stays in sync X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4ea093ecc41d5b5dfdacf991920e240ed463dd3f;p=flightgear.git Ensure aircraft list stays in sync - when removing a catalog, use the new notification to refresh the list, so we don’t show stale package data. --- diff --git a/src/GUI/AircraftModel.cxx b/src/GUI/AircraftModel.cxx index 9febfc703..ffcd95a38 100644 --- a/src/GUI/AircraftModel.cxx +++ b/src/GUI/AircraftModel.cxx @@ -378,6 +378,11 @@ protected: } } + virtual void availablePackagesChanged() Q_DECL_OVERRIDE + { + m_model->refreshPackages(); + } + virtual void dataForThumbnail(const std::string& aThumbnailUrl, size_t length, const uint8_t* bytes) {