Small fix-up
This commit is contained in:
parent
493b1231fd
commit
8d189e9ec4
|
@ -836,7 +836,7 @@ bool FApplication::processAccelerator (const FWidget* const& widget) const
|
|||
{
|
||||
bool accpt{false};
|
||||
|
||||
if ( widget || widget->getAcceleratorList().empty() )
|
||||
if ( ! widget || widget->getAcceleratorList().empty() )
|
||||
return accpt;
|
||||
|
||||
for (auto&& item : widget->getAcceleratorList())
|
||||
|
|
|
@ -471,7 +471,7 @@ bool FButtonGroup::directFocusCheckedRadioButton (FToggleButton* item) const
|
|||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
bool FButtonGroup::directFocusRadioButton()
|
||||
bool FButtonGroup::directFocusRadioButton() const
|
||||
{
|
||||
if ( ! hasCheckedButton() || buttonlist.empty() )
|
||||
return false;
|
||||
|
|
|
@ -128,7 +128,7 @@ class FButtonGroup : public FScrollView
|
|||
void init();
|
||||
void drawText (const FString&, std::size_t);
|
||||
bool directFocusCheckedRadioButton (FToggleButton*) const;
|
||||
bool directFocusRadioButton();
|
||||
bool directFocusRadioButton() const;
|
||||
void directFocus();
|
||||
void focusCheckedRadioButton (FToggleButton*, FFocusEvent*);
|
||||
void focusInRadioButton (FFocusEvent*);
|
||||
|
|
Loading…
Reference in New Issue