From: neumond Date: Thu, 3 Jul 2014 22:00:21 +0000 (+0400) Subject: Add texturebrowser tree updates on vfs restart X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=c99dfa26a59b5487b8b1f116f6a0290f9ba1d824 Add texturebrowser tree updates on vfs restart --- diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index 33e7e5c2..e9ec10f9 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -587,12 +587,15 @@ void TextureBrowser_addActiveShadersChangedCallback( const SignalHandler& handle g_activeShadersChangedCallbacks.connectLast( handler ); } +void TextureBrowser_constructTreeStore(); + class ShadersObserver : public ModuleObserver { Signal0 m_realiseCallbacks; public: void realise(){ m_realiseCallbacks(); + TextureBrowser_constructTreeStore(); } void unrealise(){ }