* Set the default country when closing the preflet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37652 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2bb43d8246
commit
48287f3d7f
@ -354,6 +354,12 @@ FormatView::FormatView(BCountry* country)
|
||||
}
|
||||
|
||||
|
||||
FormatView::~FormatView()
|
||||
{
|
||||
be_locale_roster->SetDefaultCountry(&fCountry);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
FormatView::AttachedToWindow()
|
||||
{
|
||||
|
@ -38,6 +38,7 @@ const uint32 kMenuMessage = 'FRMT';
|
||||
class FormatView : public BView {
|
||||
public:
|
||||
FormatView(BCountry* country);
|
||||
~FormatView();
|
||||
|
||||
virtual void MessageReceived(BMessage* message);
|
||||
virtual void AttachedToWindow();
|
||||
|
Loading…
Reference in New Issue
Block a user