bugfix delete human player avatar when click cancel in selectavatardialog
This commit is contained in:
@@ -2976,7 +2976,7 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
<item>
|
||||
<property name="text" >
|
||||
<string>Player Nicks</string>
|
||||
<string>Player Nicks/Avatars</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
@@ -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