temp disable history command

This commit is contained in:
bao-qian 2016-05-23 22:29:24 +01:00
parent d15611fd44
commit 3aada68eb9

View File

@ -136,7 +136,7 @@ namespace Wox.ViewModel
}); });
/**
DisplayNextQueryCommand = new RelayCommand(_ => DisplayNextQueryCommand = new RelayCommand(_ =>
{ {
var nextQuery = _queryHistory.Next(); var nextQuery = _queryHistory.Next();
@ -148,6 +148,7 @@ namespace Wox.ViewModel
var prev = _queryHistory.Previous(); var prev = _queryHistory.Previous();
DisplayQueryHistory(prev); DisplayQueryHistory(prev);
}); });
**/
SelectNextPageCommand = new RelayCommand(_ => SelectNextPageCommand = new RelayCommand(_ =>
{ {
@ -426,7 +427,7 @@ namespace Wox.ViewModel
Results.RemoveResultsFor(QueryHistory.MetaData); Results.RemoveResultsFor(QueryHistory.MetaData);
_queryHistory.Reset(); _queryHistory.Reset();
} }
/**
private void DisplayQueryHistory(HistoryItem history) private void DisplayQueryHistory(HistoryItem history)
{ {
if (history != null) if (history != null)
@ -458,6 +459,7 @@ namespace Wox.ViewModel
}, _updateToken); }, _updateToken);
} }
} }
**/
private Result ContextMenuTopMost(Result result) private Result ContextMenuTopMost(Result result)
{ {