mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-18 17:37:48 +01:00
Fixed UI bug
This commit is contained in:
@@ -248,8 +248,11 @@ namespace Flowframes
|
|||||||
Program.mainForm.UpdateStepByStepControls(false);
|
Program.mainForm.UpdateStepByStepControls(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
string lastAiComboxStr = "";
|
||||||
private void aiCombox_SelectedIndexChanged(object sender, EventArgs e)
|
private void aiCombox_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(aiCombox.Text) || aiCombox.Text == lastAiComboxStr) return;
|
||||||
|
lastAiComboxStr = aiCombox.Text;
|
||||||
aiModel = UIUtils.FillAiModelsCombox(aiModel, GetAi());
|
aiModel = UIUtils.FillAiModelsCombox(aiModel, GetAi());
|
||||||
interpFactorCombox_SelectedIndexChanged(null, null);
|
interpFactorCombox_SelectedIndexChanged(null, null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user