bugfix delete human player avatar when click cancel in selectavatardialog
This commit is contained in:
1 parent
d99b756006
commit
ffdc3468a1
2 files changed
+5
-5
No files matched your search
@@ -388,10 +388,10 @@ void settingsDialogImpl::setFlipsidePicFileName()
|
||||
void settingsDialogImpl::setAvatarFile0() {
|
||||
|
||||
callSelectAvatarDialog();
|
||||
pushButton_HumanPlayerAvatar->setMyLink(mySelectAvatarDialogImpl->getAvatarLink());
|
||||
|
||||
pushButton_HumanPlayerAvatar->setIcon(QIcon(pushButton_HumanPlayerAvatar->getMyLink()));
|
||||
|
||||
if(mySelectAvatarDialogImpl->getSettingsCorrect()) {
|
||||
pushButton_HumanPlayerAvatar->setMyLink(mySelectAvatarDialogImpl->getAvatarLink());
|
||||
pushButton_HumanPlayerAvatar->setIcon(QIcon(pushButton_HumanPlayerAvatar->getMyLink()));
|
||||
}
|
||||
}
|
||||
|
||||
void settingsDialogImpl::setAvatarFile1() {
|
||||
|
||||
Reference in new issue
Block a user