* don't show revision number in window title

This commit is contained in:
Reinhard Pointner 2015-05-04 12:35:15 +00:00
parent 6ed8d4443e
commit bf8826229f
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public class MainFrame extends JFrame {
private static final PreferencesEntry<String> persistentSelectedPanel = Settings.forPackage(MainFrame.class).entry("panel.selected").defaultValue("0");
public MainFrame() {
super(Settings.isInstalled() ? Settings.getApplicationName() : Settings.getApplicationIdentifier());
super(isInstalled() ? getApplicationName() : String.format("%s %s", getApplicationName(), getApplicationVersion()));
try {
// restore selected panel
@ -223,7 +223,7 @@ public class MainFrame extends JFrame {
selectEnabled = true;
// bring window to front when on dnd
if (Settings.isMacApp()) {
if (isMacApp()) {
MacAppUtilities.requestForeground();
} else {
SwingUtilities.getWindowAncestor(((DropTarget) dtde.getSource()).getComponent()).toFront();