Skip to content

Commit

Permalink
[Fix] Plugin editor: Pasting a preset may cause a change of the menu …
Browse files Browse the repository at this point in the history
…bar height due to longer preset name.

git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21744 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Sep 25, 2024
1 parent 93224a8 commit 4e419d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptrack/AbstractVstEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ void CAbstractVstEditor::OnPasteParameters()
{
pModDoc->SetModified();
}
WindowSizeAdjuster adjuster(*this);
UpdatePresetField();
} else
{
Expand Down Expand Up @@ -344,7 +345,6 @@ void CAbstractVstEditor::UpdatePresetField()
}

DrawMenuBar();

}


Expand Down

0 comments on commit 4e419d5

Please sign in to comment.