fix setVisible

This commit is contained in:
Marco Martin 2011-02-25 15:01:04 +01:00
parent 9c6f2132ad
commit 8128291fee

View File

@ -139,7 +139,7 @@ bool DialogProxy::isVisible() const
void DialogProxy::setVisible(const bool visible)
{
if (m_dialog->isVisible() == visible) {
if (m_dialog->isVisible() != visible) {
m_dialog->setVisible(visible);
emit visibleChanged();
}