Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit ec76907

Browse files
committed
Reverted history order
1 parent 1adda85 commit ec76907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SQLToolsModels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class History:
315315
def add(query):
316316
if len(History.queries) >= sublime.load_settings(Const.SETTINGS_FILENAME).get('history_size', 100):
317317
History.queries.pop(0)
318-
History.queries.append(query)
318+
History.queries.insert(0, query)
319319

320320
@staticmethod
321321
def get(index):

0 commit comments

Comments
 (0)