Skip to content

Commit 8057a82

Browse files
committed
Reorder lookup menu
1 parent a70195d commit 8057a82

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

jabgui/src/main/java/org/jabref/gui/frame/MainMenu.java

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -286,22 +286,25 @@ private void createMenu() {
286286
}
287287

288288
lookup.getItems().addAll(
289+
// region identifier-related
289290
lookupIdentifiers,
290-
factory.createMenuItem(StandardActions.DOWNLOAD_FULL_TEXT, new DownloadFullTextAction(dialogService, stateManager, preferences, (UiTaskExecutor) taskExecutor)),
291-
292-
new SeparatorMenuItem(),
293-
294-
factory.createMenuItem(StandardActions.FIND_UNLINKED_FILES, new FindUnlinkedFilesAction(dialogService, stateManager)),
295-
296-
new SeparatorMenuItem(),
297291

298292
factory.createMenuItem(
299293
StandardActions.MERGE_WITH_FETCHED_ENTRY,
300294
new MergeWithFetchedEntryAction(dialogService, stateManager, taskExecutor, preferences, undoManager)),
301295

302296
factory.createMenuItem(
303297
StandardActions.BATCH_MERGE_WITH_FETCHED_ENTRY,
304-
new BatchEntryMergeWithFetchedDataAction(stateManager, undoManager, preferences, dialogService, taskExecutor))
298+
new BatchEntryMergeWithFetchedDataAction(stateManager, undoManager, preferences, dialogService, taskExecutor)),
299+
// endregion
300+
301+
new SeparatorMenuItem(),
302+
303+
// region file-related
304+
factory.createMenuItem(StandardActions.DOWNLOAD_FULL_TEXT, new DownloadFullTextAction(dialogService, stateManager, preferences, (UiTaskExecutor) taskExecutor)),
305+
factory.createMenuItem(StandardActions.FIND_UNLINKED_FILES, new FindUnlinkedFilesAction(dialogService, stateManager)),
306+
// endregion
307+
305308
);
306309

307310
final MenuItem pushToApplicationMenuItem = factory.createMenuItem(pushToApplicationCommand.getAction(), pushToApplicationCommand);

0 commit comments

Comments
 (0)