forked from mia/Aegisub
Fix #1843
This commit is contained in:
parent
b4516e4754
commit
ebb3811942
1 changed files with 2 additions and 1 deletions
|
@ -181,7 +181,8 @@ void EnumBinderBase::Set(int value) {
|
|||
rb->SetSelection(value);
|
||||
else if (auto rb = dynamic_cast<wxComboBox*>(GetWindow()))
|
||||
rb->SetSelection(value);
|
||||
throw agi::InternalError("Control type not supported by EnumBinder");
|
||||
else
|
||||
throw agi::InternalError("Control type not supported by EnumBinder");
|
||||
}
|
||||
|
||||
bool StringBinder::TransferFromWindow() {
|
||||
|
|
Loading…
Reference in a new issue