diff options
| -rw-r--r-- | unity-shared/IconRenderer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unity-shared/IconRenderer.cpp b/unity-shared/IconRenderer.cpp index 296228043..7d0eb215a 100644 --- a/unity-shared/IconRenderer.cpp +++ b/unity-shared/IconRenderer.cpp @@ -251,7 +251,8 @@ struct IconRenderer::LocalTextures : parent_(parent) { connections_.Add(theme::Settings::Get()->theme.changed.connect([this] (std::string const&) { - ReloadIconSxtures(parent_->icon_size, parent_->image_size); + if (!texture_files_.empty()) + ReloadIconSizedTextures(parent_->icon_size, parent_->image_size); })); auto clear_labels = sigc::hide(sigc::mem_fun(this, &LocalTextures::ClearLabels)); |
