1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-03 23:34:09 +02:00

Fix misaligned Plugins form controls when reloading plugins after scrolling down

This commit is contained in:
chylex 2017-10-31 07:18:38 +01:00
parent 7d8d0bd43b
commit b90c5f17cf

View File

@ -35,8 +35,8 @@ private int GetPluginOrderIndex(Plugin plugin){
}
private void ReloadPluginList(){
flowLayoutPlugins.SuspendLayout();
flowLayoutPlugins.Controls.Clear();
flowLayoutPlugins.SuspendLayout();
foreach(Plugin plugin in pluginManager.Plugins.OrderBy(GetPluginOrderIndex).ThenBy(plugin => plugin.Name)){
flowLayoutPlugins.Controls.Add(new PluginControl(pluginManager, plugin));