#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Tue, 03 Jan 2017 10:47:30 +0100
changeset 17203 7c3f5c101f55
parent 17202 82155dcadf24
child 17204 788f1338503a
#REFACTORING by stefan class: BookmarksEditDialog changed: #openWith:defaultBookmark: use "self class" when refering to own class
BookmarksEditDialog.st
--- a/BookmarksEditDialog.st	Thu Dec 29 11:57:03 2016 +0100
+++ b/BookmarksEditDialog.st	Tue Jan 03 10:47:30 2017 +0100
@@ -328,14 +328,13 @@
 !
 
 openWith:bookmarks defaultBookmark:aFilename
-
     | dialog bookmarkStrings |
 
-    dialog := BookmarksEditDialog new.
+    dialog := self new.
 
     dialog allButOpenInterface:#windowSpec.
 
-    aFilename notNil ifTrue:[dialog defaultBookmark: aFilename asString.].
+    aFilename notNil ifTrue:[dialog defaultBookmark: aFilename asString].
     bookmarkStrings := bookmarks collect:[:each | each asString].
     dialog bookmarkList: bookmarkStrings.
     dialog openWindow.