mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-05 15:56:00 +02:00
Fixes for safe mode
This commit is contained in:
parent
8d0f70588f
commit
3681b521b5
1 changed files with 10 additions and 4 deletions
|
@ -876,17 +876,23 @@ namespace IDE.ui
|
|||
{
|
||||
base.Update();
|
||||
|
||||
if (gApp.mBfResolveCompiler == null)
|
||||
return;
|
||||
|
||||
var focusedItem = (ClassViewListViewItem)mTypeLV.GetRoot().FindFocusedItem();
|
||||
var focusedStr = scope String();
|
||||
if (focusedItem != null)
|
||||
GetName(focusedItem, focusedStr);
|
||||
|
||||
if (gApp.mBfResolveCompiler != null)
|
||||
{
|
||||
int32 compileRevision = gApp.mBfResolveCompiler.GetCompileRevision();
|
||||
if (mLastCompileRevision != compileRevision)
|
||||
{
|
||||
mCompileRevisionDirtyDelay = 30;
|
||||
mLastCompileRevision = compileRevision;
|
||||
}
|
||||
}
|
||||
|
||||
if ((mCompileRevisionDirtyDelay > 0) && (--mCompileRevisionDirtyDelay == 0))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue