]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
Add texturebrowser tree updates on vfs restart
authorneumond <knifeslaughter@gmail.com>
Thu, 3 Jul 2014 22:00:21 +0000 (02:00 +0400)
committerThomas Debesse <dev@illwieckz.net>
Sun, 9 Apr 2017 12:52:00 +0000 (14:52 +0200)
radiant/texwindow.cpp

index 33e7e5c257d8ef227a6e13f75fffa9cf2868953a..e9ec10f933eb9ac2b14c91d5716027dd8f4e7df1 100644 (file)
@@ -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(){
 }