Skip to content

Commit

Permalink
1. 0003419: Crash при ресайзе окна содержащего открытый выпадающий сп…
Browse files Browse the repository at this point in the history
…искок.
  • Loading branch information
zg0 committed Apr 5, 2017
1 parent ca4dcee commit 138de3a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions far/changelog
@@ -1,3 +1,7 @@
zg 05.04.2017 20:41:01 +0200 - build 4930

1. 0003419: Crash при ресайзе окна содержащего открытый выпадающий спискок.

svs 02.04.2017 20:22:22 +0300 - build 4929

1. SQLite 3.18.0
Expand Down
9 changes: 6 additions & 3 deletions far/dialog.cpp
Expand Up @@ -6076,9 +6076,12 @@ void Dialog::SetComboBoxPos(DialogItemEx* CurItem)
{
CurItem = &Items[m_FocusPos];
}
int X1,Y1,X2,Y2;
CalcComboBoxPos(CurItem, CurItem->ListPtr->size(), X1, Y1, X2, Y2);
CurItem->ListPtr->SetPosition(X1, Y1, X2, Y2);
if (CurItem->ListPtr)
{
int X1, Y1, X2, Y2;
CalcComboBoxPos(CurItem, CurItem->ListPtr->size(), X1, Y1, X2, Y2);
CurItem->ListPtr->SetPosition(X1, Y1, X2, Y2);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4929)m4_dnl
m4_define(BUILD,4930)m4_dnl

0 comments on commit 138de3a

Please sign in to comment.