mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-93516 Bookmarks dialog: Usability Problems
This commit is contained in:
+3
-2
@@ -62,8 +62,9 @@ class EditBookmarkDescriptionAction extends DumbAwareAction {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
BookmarkManager.getInstance(myProject).setDescription(b, description);
|
||||
if (description != null) {
|
||||
BookmarkManager.getInstance(myProject).setDescription(b, description);
|
||||
}
|
||||
|
||||
myPopup.setUiVisible(true);
|
||||
final JComponent content = myPopup.getContent();
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ class MoveBookmarkDownAction extends DumbAwareAction {
|
||||
super("Down", "Move current bookmark down", AllIcons.Actions.NextOccurence);
|
||||
myProject = project;
|
||||
myList = list;
|
||||
registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(SystemInfo.isMac ? "meta DOWN" : "control DOWN")), list);
|
||||
registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(SystemInfo.isMac ? "meta DOWN" : "alt DOWN")), list);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -34,7 +34,7 @@ class MoveBookmarkUpAction extends DumbAwareAction {
|
||||
super("Up", "Move current bookmark up", AllIcons.Actions.PreviousOccurence);
|
||||
myProject = project;
|
||||
myList = list;
|
||||
registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(SystemInfo.isMac ? "meta UP" : "control UP")), list);
|
||||
registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(SystemInfo.isMac ? "meta UP" : "alt UP")), list);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -81,7 +81,12 @@ public class DetailController implements TreeSelectionListener, ListSelectionLis
|
||||
}
|
||||
|
||||
public void selectionChanged() {
|
||||
doUpdateDetailView();
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
doUpdateDetailView();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void setTree(final JTree tree) {
|
||||
|
||||
Reference in New Issue
Block a user