Fixed to clear the pixmap

This commit is contained in:
defnax 2021-02-13 00:45:11 +01:00
parent 3b86dce5ac
commit 2b8c46017e

View File

@ -981,7 +981,7 @@ void CreateGxsChannelMsg::toggle()
void CreateGxsChannelMsg::on_removeButton_clicked()
{
preview_W->setPixmap(FilesDefs::getPixmapFromQtResourcePath(ChannelPostThumbnailView::CHAN_DEFAULT_IMAGE),true);
preview_W->setPixmap(QPixmap(), false);
removeButton->hide();
}