From 00ccc8b81c8152bdef9ae9da513d6ff211c2ab5f Mon Sep 17 00:00:00 2001 From: sln Date: Thu, 7 Apr 2011 09:17:30 +0000 Subject: [PATCH] setVisible() method fixed to avoid dialog resizing oh "hide" operation. --- src/Qtx/QtxDialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Qtx/QtxDialog.cxx b/src/Qtx/QtxDialog.cxx index 64e43c854..7c7a8291d 100755 --- a/src/Qtx/QtxDialog.cxx +++ b/src/Qtx/QtxDialog.cxx @@ -946,7 +946,8 @@ void QtxDialog::update() */ void QtxDialog::setVisible( bool on ) { - resize( sizeHint() ); + if ( on ) + resize( sizeHint() ); QDialog::setVisible( on ); -- 2.39.2