[GB.QT4]
* BUG: Correctly initialize window properties when showing it in all cases. git-svn-id: svn://localhost/gambas/trunk@7241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
e6efb33ffa
commit
2c312b8551
1 changed files with 2 additions and 1 deletions
|
@ -1656,8 +1656,8 @@ void MyMainWindow::present(QWidget *parent)
|
|||
if (effectiveWinId() == 0)
|
||||
{
|
||||
createWinId();
|
||||
initProperties(PROP_ALL);
|
||||
}
|
||||
initProperties(PROP_ALL);
|
||||
#endif
|
||||
|
||||
if (getState() & Qt::WindowMinimized)
|
||||
|
@ -1963,6 +1963,7 @@ void MyMainWindow::setBorder(bool b)
|
|||
|
||||
if (effectiveWinId())
|
||||
{
|
||||
qDebug("effectiveWinId");
|
||||
initProperties(PROP_BORDER);
|
||||
X11_window_remap(effectiveWinId());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue