View Issue Details

IDProjectCategoryView StatusLast Update
0002090Far ManagerPlugins API.Dialogpublic2012-04-29 17:20
ReporterMaximusAssigned ToDrKnS 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.0 
Target VersionFixed in Version3.0 
Summary0002090: Far валится при DIF_USELASTHISTORY
DescriptionВ некоторых случаях фар падает при инициализации диалога.
Например, в настройках MultiArc\General включить флажок "[x] Use last history", и нажать в панелях F1.
TagsNo tags attached.
Build2652

Activities

Maximus

2012-04-29 01:46

reporter  

Dialog120428.diff (444 bytes)
Index: dialog.cpp
===================================================================
--- dialog.cpp	(revision 7976)
+++ dialog.cpp	(working copy)
@@ -991,7 +991,8 @@
 
 		if ((EditPtr = (DlgEdit *)(CurItem->ObjPtr)) )
 		{
-			EditPtr->GetHistory()->ReadLastItem(CurItem->strHistory, strData);
+			if (EditPtr->GetHistory())
+				EditPtr->GetHistory()->ReadLastItem(CurItem->strHistory, strData);
 
 			if (MsgIndex != -1)
 			{
Dialog120428.diff (444 bytes)

Issue History

Date Modified Username Field Change
2012-04-29 01:46 Maximus New Issue
2012-04-29 01:46 Maximus File Added: Dialog120428.diff
2012-04-29 17:20 DrKnS Build => 2652
2012-04-29 17:20 DrKnS Status new => closed
2012-04-29 17:20 DrKnS Assigned To => DrKnS
2012-04-29 17:20 DrKnS Resolution open => fixed
2012-04-29 17:20 DrKnS Fixed in Version => 3.0