Skip to content

Commit

Permalink
Fix alphabetical sorting of creatable type lists
Browse files Browse the repository at this point in the history
  • Loading branch information
dgelessus committed Mar 7, 2024
1 parent 933c21f commit 5cd0d96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/PrpShop/PRP/QCreatable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ QCreatable* pqMakeCreatableForm(plCreatable* pCre, QWidget* parent, int forceTyp
return new QDynamicTextMap(pCre, parent);
case kFadeOpacityMod:
return new QFadeOpacityMod(pCre, parent);
case kInterfaceInfoModifier:
return new QInterfaceInfoModifier(pCre, parent);
case kGMaterial:
return new QMaterial(pCre, parent);
case kGUIButtonMod:
Expand Down Expand Up @@ -206,6 +204,8 @@ QCreatable* pqMakeCreatableForm(plCreatable* pCre, QWidget* parent, int forceTyp
return new QGUIUpDownPairMod(pCre, parent);
case kImageLibMod:
return new QImageLibMod(pCre, parent);
case kInterfaceInfoModifier:
return new QInterfaceInfoModifier(pCre, parent);
case kLayer:
return new QLayer(pCre, parent);
case kLayerAnimation:
Expand Down
4 changes: 2 additions & 2 deletions src/PrpShop/QPlasmaUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -590,14 +590,14 @@ std::vector<short> pqGetValidKOTypes()
k2WayWinAudible, kAudible, kAudibleNull, kAudioInterface, kAvLadderMod,
kCollisionDetector, kCoordinateInterface, kCubicEnvironmap,
kDetectorModifier, kDirectShadowMaster, kDrawInterface, kDynamicTextMap,
kFadeOpacityMod, kGUIButtonMod, kGUICheckBoxCtrl, kGUIClickMapCtrl,
kFadeOpacityMod, kGMaterial, kGUIButtonMod, kGUICheckBoxCtrl, kGUIClickMapCtrl,
kGUIDialogMod, kGUIDragBarCtrl, kGUIDraggableMod, kGUIDynDisplayCtrl,
kGUIEditBoxMod, kGUIKnobCtrl, kGUIListBoxMod, kGUIMenuItem,
kGUIMultiLineEditCtrl, kGUIPopUpMenu, kGUIProgressCtrl,
kGUIRadioGroupCtrl, kGUISkin, kGUITextBoxMod, kGUIUpDownPairMod,
kImageLibMod, kInterfaceInfoModifier, kLayer, kLayerAnimation,
kLayerAVI, kLayerBink, kLayerDepth, kLayerLinkAnimation, kLayerMovie,
kLayerSDLAnimation, kGMaterial, kMaintainersMarkerModifier, kMipmap,
kLayerSDLAnimation, kMaintainersMarkerModifier, kMipmap,
kMsgForwarder, kMultistageBehMod, kOneShotMod, kPanicLinkRegion,
kPickingDetector, kPointShadowMaster, kPythonFileMod, kSceneNode,
kSceneObject, kSeekPointMod, kShadowMaster, kSimulationInterface, kSound,
Expand Down

0 comments on commit 5cd0d96

Please sign in to comment.