mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Changed the destination picker behavior to not sort, this makes it possible to do the sorting in the destinations itself. OneNote places the current page on top, the printer list also starts with the default... etc.
This commit is contained in:
parent
626d607895
commit
cc7f303e08
9 changed files with 31 additions and 8 deletions
|
@ -73,6 +73,13 @@ namespace Greenshot {
|
|||
|
||||
public static List<IImageEditor> Editors {
|
||||
get {
|
||||
try {
|
||||
editorList.Sort(delegate(IImageEditor e1, IImageEditor e2) {
|
||||
return e1.Surface.CaptureDetails.Title.CompareTo(e2.Surface.CaptureDetails.Title);
|
||||
});
|
||||
} catch(Exception ex) {
|
||||
LOG.Warn("Sorting of editors failed.", ex);
|
||||
}
|
||||
return editorList;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue