Edit feed sources when given as ref argument
This commit is contained in:
parent
c1625af84b
commit
41c25f8420
|
@ -16,6 +16,7 @@
|
|||
#include "Entry.h"
|
||||
#include "Feed.h"
|
||||
#include "FeedController.h"
|
||||
#include "FeedEditWindow.h"
|
||||
#include "FeedsView.h"
|
||||
#include "MainWindow.h"
|
||||
#include "Mimetypes.h"
|
||||
|
@ -209,6 +210,10 @@ App::_OpenEntryFileAsUrl(entry_ref ref)
|
|||
void
|
||||
App::_OpenSourceFile(BMessage* refMessage)
|
||||
{
|
||||
entry_ref entryRef;
|
||||
refMessage->FindRef("refs", &entryRef);
|
||||
FeedEditWindow* window = new FeedEditWindow(BEntry(&entryRef));
|
||||
window->Show();
|
||||
}
|
||||
|
||||
|
||||
|
|
Ŝarĝante…
Reference in New Issue