Skip to content

Commit 7a89735

Browse files
committed
Bugfix with Console not being shown
The RECT must be all 0's, otherwise the window is not shown if the dialog has not already been registered with the DockingWndManager
1 parent 38c6125 commit 7a89735

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PythonScript/src/ConsoleDialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,10 @@ void ConsoleDialog::doDialog()
563563
_tcscpy_s(m_data->pszName, 20, _T("Python"));
564564

565565
RECT rc;
566-
rc.bottom = 200;
566+
rc.bottom = 0;
567567
rc.top = 0;
568568
rc.left = 0;
569-
rc.right = 400;
569+
rc.right = 0;
570570
m_hTabIcon = (HICON)::LoadImage(_hInst, MAKEINTRESOURCE(IDI_PYTHON8), IMAGE_ICON, 16, 16, LR_LOADMAP3DCOLORS | LR_LOADTRANSPARENT);
571571
m_data->hIconTab = m_hTabIcon;
572572
m_data->pszModuleName = _T("Python Script");
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef _PYTHONSCRIPTVERSION_H
22
#define _PYTHONSCRIPTVERSION_H
33

4-
#define PYSCR_VERSION_NUMERIC 0,9,0,0
5-
#define PYSCR_VERSION_STRING "0.9.0.0"
4+
#define PYSCR_VERSION_NUMERIC 0,9,0,1
5+
#define PYSCR_VERSION_STRING "0.9.0.1"
66

77
#endif

0 commit comments

Comments
 (0)