Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Dec 17, 2024
1 parent d5fd86d commit 373dae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion far/src/dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4526,7 +4526,6 @@ void Dialog::Process()

if (GetCanLoseFocus()) {
FrameManager->InsertFrame(this);
FrameManager->Commit();
}
else {
clock_t btm = 0;
Expand Down
3 changes: 3 additions & 0 deletions far/src/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,9 @@ void Manager::ActivateCommit(Frame *aFrame)
if (Index!=-1)
{
FramePos=Index;
if (CurrentFrame && CurrentFrame != aFrame) {
aFrame->FrameToBack = CurrentFrame;
}
}

/* 14.05.2002 SKV
Expand Down

0 comments on commit 373dae3

Please sign in to comment.