fix setVisible
This commit is contained in:
parent
9c6f2132ad
commit
8128291fee
@ -139,7 +139,7 @@ bool DialogProxy::isVisible() const
|
|||||||
|
|
||||||
void DialogProxy::setVisible(const bool visible)
|
void DialogProxy::setVisible(const bool visible)
|
||||||
{
|
{
|
||||||
if (m_dialog->isVisible() == visible) {
|
if (m_dialog->isVisible() != visible) {
|
||||||
m_dialog->setVisible(visible);
|
m_dialog->setVisible(visible);
|
||||||
emit visibleChanged();
|
emit visibleChanged();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user