Skip to content

Commit

Permalink
Bugfix with Console not being shown
Browse files Browse the repository at this point in the history
The RECT must be all 0's, otherwise the window is not shown if the
dialog has not already been registered with the DockingWndManager
  • Loading branch information
bruderstein committed Feb 26, 2011
1 parent 38c6125 commit 7a89735
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions PythonScript/src/ConsoleDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,10 +563,10 @@ void ConsoleDialog::doDialog()
_tcscpy_s(m_data->pszName, 20, _T("Python"));

RECT rc;
rc.bottom = 200;
rc.bottom = 0;
rc.top = 0;
rc.left = 0;
rc.right = 400;
rc.right = 0;
m_hTabIcon = (HICON)::LoadImage(_hInst, MAKEINTRESOURCE(IDI_PYTHON8), IMAGE_ICON, 16, 16, LR_LOADMAP3DCOLORS | LR_LOADTRANSPARENT);
m_data->hIconTab = m_hTabIcon;
m_data->pszModuleName = _T("Python Script");
Expand Down
4 changes: 2 additions & 2 deletions PythonScript/src/PythonScriptVersion.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _PYTHONSCRIPTVERSION_H
#define _PYTHONSCRIPTVERSION_H

#define PYSCR_VERSION_NUMERIC 0,9,0,0
#define PYSCR_VERSION_STRING "0.9.0.0"
#define PYSCR_VERSION_NUMERIC 0,9,0,1
#define PYSCR_VERSION_STRING "0.9.0.1"

#endif

0 comments on commit 7a89735

Please sign in to comment.