mirror of https://github.com/zlatinb/muwire
properly display MyFeed dialog
parent
599b72425a
commit
19974c3178
|
@ -377,7 +377,7 @@ class MainFrameController {
|
|||
void showMyFeed() {
|
||||
def params = [:]
|
||||
params['core'] = model.core
|
||||
mvcGroup.createMVCGroup("my-feed", params)
|
||||
mvcGroup.createMVCGroup("my-feed", params).destroy()
|
||||
}
|
||||
|
||||
@ControllerAction
|
||||
|
|
|
@ -33,6 +33,5 @@ class MyFeedController {
|
|||
@ControllerAction
|
||||
void close() {
|
||||
view.dialog.setVisible(false)
|
||||
mvcGroup.destroy()
|
||||
}
|
||||
}
|
|
@ -126,11 +126,6 @@ class MyFeedView {
|
|||
pack()
|
||||
setLocationRelativeTo(mainFrame)
|
||||
setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE)
|
||||
addWindowListener(new WindowAdapter() {
|
||||
public void windowClosed(WindowEvent e) {
|
||||
mvcGroup.destroy()
|
||||
}
|
||||
})
|
||||
show()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue