diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index 768de6c03..5ec3ab2b7 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -596,7 +596,7 @@ void CharSelectDialog::updateState() LocalPlayer *const player = mCharacterEntries[ idx]->getCharacter()->dummy; - if (player) + if (player && mRenameButton) mRenameButton->setEnabled(player->getRename() ? true : false); } else |