theide: fixed Bug #31: TheIDE menu losing focus when building

git-svn-id: svn://ultimatepp.org/upp/trunk@3440 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-05-21 17:48:15 +00:00
parent 0aa2ca90c7
commit d4e43f93ca
3 changed files with 6 additions and 6 deletions

View file

@ -70,11 +70,11 @@ const ConvertInt& StdConvertInt();
const ConvertInt& StdConvertIntNotNull();
struct ConvertInt64 : public ConvertInt {
ConvertInt& MinMax(int64 _min, int64 _max) { minval = _min; maxval = _max; return *this; }
ConvertInt& Min(int64 _min) { minval = _min; return *this; }
ConvertInt& Max(int64 _max) { maxval = _max; return *this; }
int64 GetMin() const { return minval; }
int64 GetMax() const { return maxval; }
ConvertInt64& MinMax(int64 _min, int64 _max) { minval = _min; maxval = _max; return *this; }
ConvertInt64& Min(int64 _min) { minval = _min; return *this; }
ConvertInt64& Max(int64 _max) { maxval = _max; return *this; }
int64 GetMin() const { return minval; }
int64 GetMax() const { return maxval; }
#ifdef flagSO
ConvertInt64(int64 minval = -INT64_MAX, int64 maxval = INT64_MAX, bool notnull = false);

View file

@ -66,6 +66,7 @@ void Ide::EndBuilding(bool ok)
BeepMuteInformation();
else
BeepMuteExclamation();
ShowConsole();
}
void Ide::DoBuild()

View file

@ -221,7 +221,6 @@ void Ide::Serialize(Stream& s) {
void Ide::PutConsole(const char *s)
{
ShowConsole();
console << s << "\n";
}