diff --git a/LightHost.jucer b/LightHost.jucer index 92a45b6..09ad20b 100644 --- a/LightHost.jucer +++ b/LightHost.jucer @@ -65,6 +65,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/IconMenu.cpp b/Source/IconMenu.cpp index 52c5906..9769d73 100644 --- a/Source/IconMenu.cpp +++ b/Source/IconMenu.cpp @@ -300,7 +300,8 @@ void IconMenu::menuInvocationCallback(int id, IconMenu* im) PluginDescription plugin = *im->knownPluginList.getType(im->knownPluginList.getIndexChosenByMenu(id)); String key = "pluginOrder-" + plugin.descriptiveName + plugin.version + plugin.pluginFormatName; - getAppProperties().getUserSettings()->setValue(key, time(0)); + int t = time(0); + getAppProperties().getUserSettings()->setValue(key, t); getAppProperties().saveIfNeeded(); im->activePluginList.addType(plugin);